#D99AF0

Closest named color: Baby Purple (#CA9BF7). oklch(77.7% 0.136 316.7), rgb(217, 154, 240).

Aa

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

About this color

#D99AF0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.136 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.025 away. Black text reads best on it, at 9.83:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.83:1
White text2.13:1

Values

HEX#D99AF0
RGBrgb(217, 154, 240)
HSLhsl(284, 74%, 77%)
OKLCHoklch(77.7% 0.136 316.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 #D99AF0 2.13:1 Fails Lc -46.4 Large or bold text, headings
Black text on #D99AF0 9.83:1 AAA Lc 62.2 Content text, not long reading
#D99AF0 text on white 2.13:1 Fails Lc 41.8 Non-text elements, placeholder text
#D99AF0 text on black 9.83:1 AAA Lc -60.5 Content text, not long reading

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

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EECAFB

    oklch(88.5% 0.076 317)

  4. Step 300

    300 (this color)

    #D99AF0

    oklch(77.7% 0.136 316.7)

  5. Step 400

    400

    #D56BF9

    oklch(70.7% 0.219 316.7)

  6. Step 500

    500

    #C830F5

    oklch(63.1% 0.278 316.7)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790098

    oklch(42.7% 0.209 316.6)

  10. Step 900

    900

    #65037F

    oklch(37.7% 0.181 316.6)

  11. Step 950

    950

    #3B0A4A

    oklch(26.9% 0.114 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#D99AF0 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)#8DADF30.112
Deuteranopia (no green cones)#9CB3ED0.103
Tritanopia (no blue cones)#D9A5BA0.091
Achromatopsia (no color)#B1B1B10.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #D99AF0

    #D99AF0

    oklch(77.7% 0.136 316.7)

  • #8CCA71

    #8CCA71

    oklch(77.6% 0.136 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D99AF0

    #D99AF0

    oklch(77.7% 0.136 316.7)

  • #B1AAFF

    #B1AAFF

    oklch(77.6% 0.12 287)

  • #F591C8

    #F591C8

    oklch(77.7% 0.137 346.6)

Open the analogous palette in the generator

Split complementary

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

  • #D99AF0

    #D99AF0

    oklch(77.7% 0.136 316.7)

  • #C1BC48

    #C1BC48

    oklch(77.7% 0.136 106.8)

  • #49D2A3

    #49D2A3

    oklch(77.8% 0.137 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D99AF0

    #D99AF0

    oklch(77.7% 0.136 316.7)

  • #E7AA43

    #E7AA43

    oklch(77.7% 0.136 77.1)

  • #00D0D3

    #00D0D3

    oklch(77.8% 0.132 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D99AF0

    #D99AF0

    oklch(77.7% 0.136 316.7)

  • #FD9967

    #FD9967

    oklch(77.7% 0.137 46.6)

  • #8CCA71

    #8CCA71

    oklch(77.6% 0.136 136.8)

  • #37C7F9

    #37C7F9

    oklch(77.7% 0.136 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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