#D892EF

Closest named color: Baby Purple (#CA9BF7). oklch(76.2% 0.148 317.5), rgb(216, 146, 239).

Aa

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

About this color

#D892EF is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.148 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.029 away. Black text reads best on it, at 9.27:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.148)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.27:1
White text2.26:1

Values

HEX#D892EF
RGBrgb(216, 146, 239)
HSLhsl(285, 74%, 75%)
OKLCHoklch(76.2% 0.148 317.5)

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 #D892EF 2.26:1 Fails Lc -49.3 Large or bold text, headings
Black text on #D892EF 9.27:1 AAA Lc 59.5 Large or bold text, headings
#D892EF text on white 2.26:1 Fails Lc 44.4 Non-text elements, placeholder text
#D892EF text on black 9.27:1 AAA Lc -57.7 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E1FD

    oklch(93.5% 0.043 317.7)

  3. Step 200

    200

    #F0C9FD

    oklch(88.6% 0.081 317.6)

  4. Step 300

    300 (this color)

    #D892EF

    oklch(76.2% 0.148 317.5)

  5. Step 400

    400

    #DA63FF

    oklch(70.7% 0.238 317.4)

  6. Step 500

    500

    #CE0DFC

    oklch(63% 0.302 317.4)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3E044D

    oklch(27.1% 0.125 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#D892EF 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)#84A8F20.125
Deuteranopia (no green cones)#96AFEC0.114
Tritanopia (no blue cones)#D89EB50.098
Achromatopsia (no color)#ACACAC0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #D892EF

    #D892EF

    oklch(76.2% 0.148 317.5)

  • #82C766

    #82C766

    oklch(76.1% 0.148 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D892EF

    #D892EF

    oklch(76.2% 0.148 317.5)

  • #ADA4FF

    #ADA4FF

    oklch(76.2% 0.129 287.5)

  • #F588C3

    #F588C3

    oklch(76.2% 0.149 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #D892EF

    #D892EF

    oklch(76.2% 0.148 317.5)

  • #BCB832

    #BCB832

    oklch(76.3% 0.148 107.7)

  • #26CF9F

    #26CF9F

    oklch(76.2% 0.148 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D892EF

    #D892EF

    oklch(76.2% 0.148 317.5)

  • #E5A429

    #E5A429

    oklch(76.2% 0.148 77.7)

  • #00CACF

    #00CACF

    oklch(76.1% 0.13 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D892EF

    #D892EF

    oklch(76.2% 0.148 317.5)

  • #FD9259

    #FD9259

    oklch(76.3% 0.148 47.5)

  • #82C766

    #82C766

    oklch(76.1% 0.148 137.3)

  • #00C3FA

    #00C3FA

    oklch(76.2% 0.147 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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