#D291FB

Closest named color: Liliac (#C48EFD). oklch(76% 0.161 311.3), rgb(210, 145, 251).

Aa

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

About this color

#D291FB is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.161 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.025 away. Black text reads best on it, at 9.18:1.

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

Values

HEX#D291FB
RGBrgb(210, 145, 251)
HSLhsl(277, 93%, 78%)
OKLCHoklch(76% 0.161 311.3)

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 #D291FB 2.28:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D291FB 9.18:1 AAA Lc 59.1 Large or bold text, headings
#D291FB text on white 2.28:1 Fails Lc 44.9 Non-text elements, placeholder text
#D291FB text on black 9.18:1 AAA Lc -57.2 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)

    #D291FB

    oklch(76% 0.161 311.3)

  5. Step 400

    400

    #CB71FF

    oklch(70.7% 0.212 311.4)

  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

    #8D00C3

    oklch(49.2% 0.247 311.4)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  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

#D291FB 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.126
Deuteranopia (no green cones)#8CADF80.115
Tritanopia (no blue cones)#CEA1BA0.113
Achromatopsia (no color)#ABABAB0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #D291FB

    #D291FB

    oklch(76% 0.161 311.3)

  • #8CC550

    #8CC550

    oklch(76% 0.16 131.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D291FB

    #D291FB

    oklch(76% 0.161 311.3)

  • #A4A7FF

    #A4A7FF

    oklch(76.1% 0.126 281.5)

  • #F485CF

    #F485CF

    oklch(76.1% 0.16 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #D291FB

    #D291FB

    oklch(76% 0.161 311.3)

  • #C7B300

    #C7B300

    oklch(76% 0.159 101.3)

  • #26D090

    #26D090

    oklch(76.1% 0.161 161.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D291FB

    #D291FB

    oklch(76% 0.161 311.3)

  • #EF9D10

    #EF9D10

    oklch(76% 0.16 71.5)

  • #00CBC5

    #00CBC5

    oklch(76% 0.131 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D291FB

    #D291FB

    oklch(76% 0.161 311.3)

  • #FF8E62

    #FF8E62

    oklch(76% 0.149 41.6)

  • #8CC550

    #8CC550

    oklch(76% 0.16 131.1)

  • #00C4EF

    #00C4EF

    oklch(76% 0.139 221.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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