#D299E4

Closest named color: Baby Purple (#CA9BF7). oklch(76.3% 0.121 317.9), rgb(210, 153, 228).

Aa

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

About this color

#D299E4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.121 and its hue 318°. 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.41:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.41:1
White text2.22:1

Values

HEX#D299E4
RGBrgb(210, 153, 228)
HSLhsl(286, 58%, 75%)
OKLCHoklch(76.3% 0.121 317.9)

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 #D299E4 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #D299E4 9.41:1 AAA Lc 60.1 Content text, not long reading
#D299E4 text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#D299E4 text on black 9.41:1 AAA Lc -58.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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #ECCCF7

    oklch(88.5% 0.067 317.4)

  4. Step 300

    300 (this color)

    #D299E4

    oklch(76.3% 0.121 317.9)

  5. Step 400

    400

    #D173ED

    oklch(70.7% 0.193 318)

  6. Step 500

    500

    #C443E7

    oklch(63.1% 0.247 318.1)

  7. Step 600

    600

    #AF03D5

    oklch(55.6% 0.268 317.9)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #631577

    oklch(37.8% 0.161 318.2)

  11. Step 950

    950

    #3A1046

    oklch(27.1% 0.102 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#D299E4 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)#8FAAE70.100
Deuteranopia (no green cones)#9CB0E20.093
Tritanopia (no blue cones)#D2A2B40.080
Achromatopsia (no color)#AEAEAE0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #D299E4

    #D299E4

    oklch(76.3% 0.121 317.9)

  • #8BC477

    #8BC477

    oklch(76.2% 0.121 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D299E4

    #D299E4

    oklch(76.3% 0.121 317.9)

  • #AEA5FB

    #AEA5FB

    oklch(76.3% 0.122 287.9)

  • #EA91C0

    #EA91C0

    oklch(76.2% 0.121 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #D299E4

    #D299E4

    oklch(76.3% 0.121 317.9)

  • #BAB856

    #BAB856

    oklch(76.4% 0.121 107.9)

  • #56CBA3

    #56CBA3

    oklch(76.4% 0.122 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D299E4

    #D299E4

    oklch(76.3% 0.121 317.9)

  • #DCA851

    #DCA851

    oklch(76.3% 0.121 78.1)

  • #2FC9CD

    #2FC9CD

    oklch(76.3% 0.121 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D299E4

    #D299E4

    oklch(76.3% 0.121 317.9)

  • #F0996C

    #F0996C

    oklch(76.2% 0.121 47.7)

  • #8BC477

    #8BC477

    oklch(76.2% 0.121 137.9)

  • #4EC1EE

    #4EC1EE

    oklch(76.4% 0.121 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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