#D291FC

Closest named color: Liliac (#C48EFD). oklch(76% 0.162 311), rgb(210, 145, 252).

Aa

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

About this color

#D291FC is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.162 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.19:1.

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

Values

HEX#D291FC
RGBrgb(210, 145, 252)
HSLhsl(276, 95%, 78%)
OKLCHoklch(76% 0.162 311)

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 #D291FC 2.28:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D291FC 9.19:1 AAA Lc 59.1 Large or bold text, headings
#D291FC text on white 2.28:1 Fails Lc 44.8 Non-text elements, placeholder text
#D291FC text on black 9.19:1 AAA Lc -57.3 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

    #F9F2FF

    oklch(97% 0.019 309.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)

    #D291FC

    oklch(76% 0.162 311)

  5. Step 400

    400

    #CA72FF

    oklch(70.7% 0.211 311)

  6. Step 500

    500

    #BD3AFF

    oklch(63.1% 0.275 311)

  7. Step 600

    600

    #A600E7

    oklch(55.6% 0.28 310.9)

  8. Step 700

    700

    #8C00C3

    oklch(49% 0.247 311.1)

  9. Step 800

    800

    #7300A2

    oklch(42.6% 0.215 310.8)

  10. Step 900

    900

    #610089

    oklch(37.8% 0.19 311)

  11. Step 950

    950

    #3B0055

    oklch(27% 0.136 311.1)

Export this scale for Tailwind in the Tailwind colors tool

#D291FC 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)#8BADF90.116
Tritanopia (no blue cones)#CDA1BB0.113
Achromatopsia (no color)#ABABAB0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #D291FC

    #D291FC

    oklch(76% 0.162 311)

  • #8CC54E

    #8CC54E

    oklch(75.9% 0.161 130.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D291FC

    #D291FC

    oklch(76% 0.162 311)

  • #A3A7FF

    #A3A7FF

    oklch(76% 0.126 281)

  • #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°).

  • #D291FC

    #D291FC

    oklch(76% 0.162 311)

  • #C8B300

    #C8B300

    oklch(76.1% 0.159 100.9)

  • #25D08F

    #25D08F

    oklch(76.1% 0.162 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D291FC

    #D291FC

    oklch(76% 0.162 311)

  • #F09D0C

    #F09D0C

    oklch(76.1% 0.162 71.3)

  • #00CBC5

    #00CBC5

    oklch(76% 0.131 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D291FC

    #D291FC

    oklch(76% 0.162 311)

  • #FF8E63

    #FF8E63

    oklch(76.1% 0.149 41.2)

  • #8CC54E

    #8CC54E

    oklch(75.9% 0.161 130.9)

  • #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 #D291FC, closest first.

Similar named colors

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

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