#D398EA

Closest named color: Baby Purple (#CA9BF7). oklch(76.5% 0.13 316.2), rgb(211, 152, 234).

Aa

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

About this color

#D398EA is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.130 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.023 away. Black text reads best on it, at 9.44:1.

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

Values

HEX#D398EA
RGBrgb(211, 152, 234)
HSLhsl(283, 66%, 76%)
OKLCHoklch(76.5% 0.13 316.2)

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 #D398EA 2.22:1 Fails Lc -48.4 Large or bold text, headings
Black text on #D398EA 9.44:1 AAA Lc 60.3 Content text, not long reading
#D398EA text on white 2.22:1 Fails Lc 43.6 Non-text elements, placeholder text
#D398EA text on black 9.44:1 AAA Lc -58.5 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

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E3FB

    oklch(93.6% 0.037 316.2)

  3. Step 200

    200

    #ECCBFA

    oklch(88.5% 0.073 315.8)

  4. Step 300

    300 (this color)

    #D398EA

    oklch(76.5% 0.13 316.2)

  5. Step 400

    400

    #D26FF6

    oklch(70.7% 0.209 316.2)

  6. Step 500

    500

    #C53AF1

    oklch(63.1% 0.265 316.4)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B8

    oklch(49% 0.24 316.2)

  9. Step 800

    800

    #790099

    oklch(42.8% 0.209 316.2)

  10. Step 900

    900

    #630D7D

    oklch(37.7% 0.173 316)

  11. Step 950

    950

    #3A0D49

    oklch(27% 0.109 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#D398EA 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)#8CAAED0.105
Deuteranopia (no green cones)#9AB0E70.098
Tritanopia (no blue cones)#D2A2B60.087
Achromatopsia (no color)#AEAEAE0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #D398EA

    #D398EA

    oklch(76.5% 0.13 316.2)

  • #8CC570

    #8CC570

    oklch(76.4% 0.129 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D398EA

    #D398EA

    oklch(76.5% 0.13 316.2)

  • #ACA6FF

    #ACA6FF

    oklch(76.5% 0.126 286.1)

  • #EE8FC4

    #EE8FC4

    oklch(76.5% 0.131 346.1)

Open the analogous palette in the generator

Split complementary

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

  • #D398EA

    #D398EA

    oklch(76.5% 0.13 316.2)

  • #BDB84B

    #BDB84B

    oklch(76.6% 0.13 106.6)

  • #4ECDA0

    #4ECDA0

    oklch(76.6% 0.13 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D398EA

    #D398EA

    oklch(76.5% 0.13 316.2)

  • #E1A648

    #E1A648

    oklch(76.4% 0.129 76.1)

  • #04CBCE

    #04CBCE

    oklch(76.4% 0.13 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D398EA

    #D398EA

    oklch(76.5% 0.13 316.2)

  • #F69769

    #F69769

    oklch(76.5% 0.13 46.1)

  • #8CC570

    #8CC570

    oklch(76.4% 0.129 136)

  • #3DC3F2

    #3DC3F2

    oklch(76.6% 0.13 226.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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