#D391FD

Closest named color: Liliac (#C48EFD). oklch(76.2% 0.163 311.2), rgb(211, 145, 253).

Aa

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

About this color

#D391FD is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.163 and its hue 311°. 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.23:1.

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

Values

HEX#D391FD
RGBrgb(211, 145, 253)
HSLhsl(277, 96%, 78%)
OKLCHoklch(76.2% 0.163 311.2)

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 #D391FD 2.27:1 Fails Lc -49.5 Large or bold text, headings
Black text on #D391FD 9.23:1 AAA Lc 59.4 Large or bold text, headings
#D391FD text on white 2.27:1 Fails Lc 44.6 Non-text elements, placeholder text
#D391FD text on black 9.23:1 AAA Lc -57.5 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

    #F3E3FF

    oklch(93.7% 0.041 310.9)

  3. Step 200

    200

    #EACBFF

    oklch(88.5% 0.078 311.5)

  4. Step 300

    300 (this color)

    #D391FD

    oklch(76.2% 0.163 311.2)

  5. Step 400

    400

    #CA71FF

    oklch(70.6% 0.212 311.1)

  6. Step 500

    500

    #BE39FF

    oklch(63.1% 0.276 311.3)

  7. Step 600

    600

    #A600E6

    oklch(55.5% 0.279 311.1)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7400A2

    oklch(42.8% 0.215 311.2)

  10. Step 900

    900

    #610088

    oklch(37.7% 0.189 311.3)

  11. Step 950

    950

    #3B0055

    oklch(27% 0.136 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#D391FD 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)#7AA9FF0.130
Deuteranopia (no green cones)#8BADFA0.117
Tritanopia (no blue cones)#CEA1BB0.115
Achromatopsia (no color)#ACACAC0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #D391FD

    #D391FD

    oklch(76.2% 0.163 311.2)

  • #8CC64E

    #8CC64E

    oklch(76.2% 0.163 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D391FD

    #D391FD

    oklch(76.2% 0.163 311.2)

  • #A4A8FF

    #A4A8FF

    oklch(76.3% 0.124 281)

  • #F584D0

    #F584D0

    oklch(76.1% 0.164 341)

Open the analogous palette in the generator

Split complementary

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

  • #D391FD

    #D391FD

    oklch(76.2% 0.163 311.2)

  • #C8B300

    #C8B300

    oklch(76.1% 0.159 100.9)

  • #20D18F

    #20D18F

    oklch(76.3% 0.164 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D391FD

    #D391FD

    oklch(76.2% 0.163 311.2)

  • #F19D04

    #F19D04

    oklch(76.2% 0.163 71.2)

  • #00CCC6

    #00CCC6

    oklch(76.3% 0.131 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D391FD

    #D391FD

    oklch(76.2% 0.163 311.2)

  • #FF8F64

    #FF8F64

    oklch(76.2% 0.147 41.4)

  • #8CC64E

    #8CC64E

    oklch(76.2% 0.163 131.1)

  • #00C5F0

    #00C5F0

    oklch(76.3% 0.14 221)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D391FD.

Similar named colors

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

Use #D391FD 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.