#D399FB

Closest named color: Baby Purple (#CA9BF7). oklch(77.4% 0.148 310.5), rgb(211, 153, 251).

Aa

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

About this color

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

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

Values

HEX#D399FB
RGBrgb(211, 153, 251)
HSLhsl(276, 92%, 79%)
OKLCHoklch(77.4% 0.148 310.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 #D399FB 2.16:1 Fails Lc -47.0 Large or bold text, headings
Black text on #D399FB 9.71:1 AAA Lc 61.6 Content text, not long reading
#D399FB text on white 2.16:1 Fails Lc 42.3 Non-text elements, placeholder text
#D399FB text on black 9.71:1 AAA Lc -59.9 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

    #E9CCFF

    oklch(88.6% 0.075 310.4)

  4. Step 300

    300 (this color)

    #D399FB

    oklch(77.4% 0.148 310.5)

  5. Step 400

    400

    #C973FF

    oklch(70.7% 0.209 310.5)

  6. Step 500

    500

    #BC3CFF

    oklch(63.1% 0.272 310.6)

  7. Step 600

    600

    #A500E8

    oklch(55.6% 0.28 310.4)

  8. Step 700

    700

    #8C00C5

    oklch(49.2% 0.248 310.6)

  9. Step 800

    800

    #7300A3

    oklch(42.7% 0.216 310.5)

  10. Step 900

    900

    #600089

    oklch(37.6% 0.19 310.5)

  11. Step 950

    950

    #390752

    oklch(27% 0.125 310.4)

Export this scale for Tailwind in the Tailwind colors tool

#D399FB 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)#86AEFF0.112
Deuteranopia (no green cones)#93B1F80.103
Tritanopia (no blue cones)#CFA7BE0.105
Achromatopsia (no color)#B0B0B00.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #D399FB

    #D399FB

    oklch(77.4% 0.148 310.5)

  • #95C85D

    #95C85D

    oklch(77.4% 0.148 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D399FB

    #D399FB

    oklch(77.4% 0.148 310.5)

  • #A7ADFF

    #A7ADFF

    oklch(77.4% 0.117 280.1)

  • #F38ED2

    #F38ED2

    oklch(77.4% 0.147 340.5)

Open the analogous palette in the generator

Split complementary

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

  • #D399FB

    #D399FB

    oklch(77.4% 0.148 310.5)

  • #CBB72F

    #CBB72F

    oklch(77.4% 0.148 100.5)

  • #49D295

    #49D295

    oklch(77.4% 0.148 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D399FB

    #D399FB

    oklch(77.4% 0.148 310.5)

  • #F0A338

    #F0A338

    oklch(77.4% 0.147 70.5)

  • #00D0C9

    #00D0C9

    oklch(77.4% 0.133 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D399FB

    #D399FB

    oklch(77.4% 0.148 310.5)

  • #FF956F

    #FF956F

    oklch(77.4% 0.138 40.3)

  • #95C85D

    #95C85D

    oklch(77.4% 0.148 130.3)

  • #00C9F4

    #00C9F4

    oklch(77.4% 0.141 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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