#D399FE

Closest named color: Baby Purple (#CA9BF7). oklch(77.5% 0.151 309.7), rgb(211, 153, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (78%)
Chromavivid (0.151)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.75:1
White text2.15:1

Values

HEX#D399FE
RGBrgb(211, 153, 254)
HSLhsl(274, 98%, 80%)
OKLCHoklch(77.5% 0.151 309.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 #D399FE 2.15:1 Fails Lc -46.8 Large or bold text, headings
Black text on #D399FE 9.75:1 AAA Lc 61.8 Content text, not long reading
#D399FE text on white 2.15:1 Fails Lc 42.1 Non-text elements, placeholder text
#D399FE text on black 9.75:1 AAA Lc -60.1 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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FF

    oklch(93.6% 0.041 309.5)

  3. Step 200

    200

    #E8CCFF

    oklch(88.5% 0.075 309.6)

  4. Step 300

    300 (this color)

    #D399FE

    oklch(77.5% 0.151 309.7)

  5. Step 400

    400

    #C774FF

    oklch(70.7% 0.207 309.7)

  6. Step 500

    500

    #BA40FF

    oklch(63.2% 0.268 309.7)

  7. Step 600

    600

    #A400EA

    oklch(55.6% 0.282 309.6)

  8. Step 700

    700

    #8A00C6

    oklch(49% 0.248 309.6)

  9. Step 800

    800

    #7200A4

    oklch(42.7% 0.216 309.7)

  10. Step 900

    900

    #60008B

    oklch(37.8% 0.191 309.7)

  11. Step 950

    950

    #390653

    oklch(27% 0.127 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#D399FE 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)#84AEFF0.115
Deuteranopia (no green cones)#92B2FB0.105
Tritanopia (no blue cones)#CEA8C00.108
Achromatopsia (no color)#B1B1B10.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #D399FE

    #D399FE

    oklch(77.5% 0.151 309.7)

  • #96C95A

    #96C95A

    oklch(77.6% 0.152 129.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D399FE

    #D399FE

    oklch(77.5% 0.151 309.7)

  • #A7AEFF

    #A7AEFF

    oklch(77.6% 0.116 279.5)

  • #F48DD5

    #F48DD5

    oklch(77.5% 0.151 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #D399FE

    #D399FE

    oklch(77.5% 0.151 309.7)

  • #CDB727

    #CDB727

    oklch(77.5% 0.151 99.9)

  • #47D393

    #47D393

    oklch(77.6% 0.152 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D399FE

    #D399FE

    oklch(77.5% 0.151 309.7)

  • #F3A234

    #F3A234

    oklch(77.5% 0.151 69.4)

  • #00D1C8

    #00D1C8

    oklch(77.6% 0.134 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D399FE

    #D399FE

    oklch(77.5% 0.151 309.7)

  • #FF9672

    #FF9672

    oklch(77.6% 0.136 39.6)

  • #96C95A

    #96C95A

    oklch(77.6% 0.152 129.9)

  • #00CAF3

    #00CAF3

    oklch(77.6% 0.141 219.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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