#D391FB

Closest named color: Liliac (#C48EFD). oklch(76.1% 0.161 311.7), rgb(211, 145, 251).

Aa

Black text reads best on this color (9.21:1).

About this color

#D391FB is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.161 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.026 away. Black text reads best on it, at 9.21:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.161)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.21:1
White text2.27:1

Values

HEX#D391FB
RGBrgb(211, 145, 251)
HSLhsl(277, 93%, 78%)
OKLCHoklch(76.1% 0.161 311.7)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D391FB 2.27:1 Fails Lc -49.6 Large or bold text, headings
Black text on #D391FB 9.21:1 AAA Lc 59.2 Large or bold text, headings
#D391FB text on white 2.27:1 Fails Lc 44.7 Non-text elements, placeholder text
#D391FB text on black 9.21:1 AAA Lc -57.4 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F3E2FF

    oklch(93.5% 0.043 311.5)

  3. Step 200

    200

    #EACBFF

    oklch(88.5% 0.078 311.5)

  4. Step 300

    300 (this color)

    #D391FB

    oklch(76.1% 0.161 311.7)

  5. Step 400

    400

    #CC70FF

    oklch(70.7% 0.214 311.8)

  6. Step 500

    500

    #BF37FF

    oklch(63.1% 0.278 311.7)

  7. Step 600

    600

    #A700E5

    oklch(55.6% 0.279 311.7)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #610087

    oklch(37.6% 0.188 311.7)

  11. Step 950

    950

    #3B0054

    oklch(26.9% 0.135 311.7)

Export this scale for Tailwind in the Tailwind colors tool

#D391FB with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#7BA8FF0.128
Deuteranopia (no green cones)#8CADF80.116
Tritanopia (no blue cones)#CFA1BA0.113
Achromatopsia (no color)#ACACAC0.162

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D391FB

    #D391FB

    oklch(76.1% 0.161 311.7)

  • #8BC651

    #8BC651

    oklch(76.2% 0.161 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D391FB

    #D391FB

    oklch(76.1% 0.161 311.7)

  • #A4A7FF

    #A4A7FF

    oklch(76.1% 0.126 281.5)

  • #F585CE

    #F585CE

    oklch(76.1% 0.161 342)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D391FB

    #D391FB

    oklch(76.1% 0.161 311.7)

  • #C7B400

    #C7B400

    oklch(76.2% 0.159 101.8)

  • #23D091

    #23D091

    oklch(76.1% 0.161 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D391FB

    #D391FB

    oklch(76.1% 0.161 311.7)

  • #EF9D0E

    #EF9D0E

    oklch(76% 0.161 71.6)

  • #00CBC6

    #00CBC6

    oklch(76.1% 0.131 191.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D391FB

    #D391FB

    oklch(76.1% 0.161 311.7)

  • #FF8E62

    #FF8E62

    oklch(76% 0.149 41.6)

  • #8BC651

    #8BC651

    oklch(76.2% 0.161 131.7)

  • #00C4F0

    #00C4F0

    oklch(76% 0.14 221.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D391FB, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D391FB in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.