Skip to main content

bg-purple-50

Tailwind Purple 50

#FAF5FF·Purple family·Shade 50

Color Values

HEX
#FAF5FF
RGB
rgb(250, 245, 255)
HSL
hsl(270, 100%, 98%)
OKLCH
oklch(0.977 0.014 308)
CMYK
cmyk(2%, 4%, 0%, 0%)
CSS Variable
var(--color-purple-50)
Tailwind Class
bg-purple-50

Accessibility Score

60/100

Good

Based on WCAG 2.1 contrast ratios against white and black backgrounds.

On White

1.07:1

Fail

On Black

19.57:1

AAA
Test in Contrast Checker →

Tailwind Usage — All Utilities

Background

bg-purple-50

Text

text-purple-50

Border

border-purple-50

Ring

ring-purple-50

Outline

outline-purple-50

Fill

fill-purple-50

Stroke

stroke-purple-50

From (gradient)

from-purple-50

Via (gradient)

via-purple-50

To (gradient)

to-purple-50

Placeholder

placeholder-purple-50

Caret

caret-purple-50

Accent

accent-purple-50

Decoration

decoration-purple-50

Shadow Color

shadow-purple-50

Tailwind v3 Config (extend custom color)

// tailwind.config.js module.exports = { theme: { extend: { colors: { 'purple-50': '#faf5ff', }, }, }, };

CSS Equivalent

/* Hex */
background-color: #FAF5FF;

/* RGB */
background-color: rgb(250, 245, 255);

/* HSL */
background-color: hsl(270, 100%, 98%);

/* OKLCH (CSS Color Level 4) */
background-color: oklch(0.977 0.014 308);

/* CSS Custom Property (Tailwind v4) */
background-color: var(--color-purple-50);

/* Gradient example */
background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);

OKLCH — Modern Color Space

Lightness (L)

0.977

98% perceived brightness

Chroma (C)

0.014

Color intensity / saturation

Hue (H)

308°

Angle on perceptual hue wheel

oklch(0.977 0.014 308)

OKLCH is a perceptually uniform color space in CSS Color Level 4. Unlike HSL, equal steps in L produce equal perceived lightness changes — making it ideal for building accessible, harmonious design system scales.

Design Recommendations

Ultra-light background tint

Shade 50 of the Purple palette

Recommended Uses

  • Page backgrounds
  • Subtle section fills
  • Notification banners
  • Hover state backgrounds
  • Table row alternates

Avoid

Text on white — contrast is too low for readability.

Preview

On White

Aa Bb Cc

On Black

Aa Bb Cc

As Background

Aa Bb Cc — #FAF5FF

Frequently Asked Questions

What is the hex code for Tailwind Purple 50?
Tailwind Purple 50 has the hex code #FAF5FF. Its RGB value is rgb(250, 245, 255) and its HSL value is hsl(270, 100%, 98%).
What Tailwind utility classes use Purple 50?
Use bg-purple-50 for backgrounds, text-purple-50 for text color, border-purple-50 for borders, and ring-purple-50 for focus rings. In Tailwind v4 the CSS variable var(--color-purple-50) is available natively.
Is Tailwind Purple 50 WCAG accessible?
Tailwind Purple 50 achieves a 1.07:1 contrast ratio on white (Fail) and 19.57:1 on black (AAA). Its overall accessibility score is 60/100 (Good).
What is the OKLCH value for Tailwind Purple 50?
Tailwind Purple 50 in OKLCH is oklch(0.977 0.014 308) — lightness 0.977, chroma 0.014, hue 308°. OKLCH is a perceptually uniform space supported natively in modern CSS via the `color()` function.
What is Tailwind Purple 50 used for?
At shade 50, Tailwind Purple 50 is best described as "Ultra-light background tint". Recommended uses: Page backgrounds, Subtle section fills, Notification banners.