#DB98EC

Closest named color: Baby Purple (#CA9BF7). oklch(77.4% 0.136 319.3), rgb(219, 152, 236).

Aa

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

About this color

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

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

Values

HEX#DB98EC
RGBrgb(219, 152, 236)
HSLhsl(288, 69%, 76%)
OKLCHoklch(77.4% 0.136 319.3)

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 #DB98EC 2.16:1 Fails Lc -47.0 Large or bold text, headings
Black text on #DB98EC 9.71:1 AAA Lc 61.6 Content text, not long reading
#DB98EC text on white 2.16:1 Fails Lc 42.3 Non-text elements, placeholder text
#DB98EC 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F6E2FB

    oklch(93.6% 0.04 319.5)

  3. Step 200

    200

    #F0CAF9

    oklch(88.6% 0.075 319.8)

  4. Step 300

    300 (this color)

    #DB98EC

    oklch(77.4% 0.136 319.3)

  5. Step 400

    400

    #D96AF4

    oklch(70.8% 0.217 319.4)

  6. Step 500

    500

    #CD2CEF

    oklch(63.2% 0.278 319.5)

  7. Step 600

    600

    #B100D2

    oklch(55.6% 0.268 319.3)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7B0093

    oklch(42.6% 0.206 319.1)

  10. Step 900

    900

    #68007C

    oklch(37.8% 0.182 319.4)

  11. Step 950

    950

    #3D0948

    oklch(27% 0.114 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#DB98EC 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)#8DACEF0.116
Deuteranopia (no green cones)#9DB3E90.108
Tritanopia (no blue cones)#DCA2B70.088
Achromatopsia (no color)#B0B0B00.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB98EC

    #DB98EC

    oklch(77.4% 0.136 319.3)

  • #86CA74

    #86CA74

    oklch(77.3% 0.136 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB98EC

    #DB98EC

    oklch(77.4% 0.136 319.3)

  • #B3A8FF

    #B3A8FF

    oklch(77.4% 0.123 289)

  • #F590C3

    #F590C3

    oklch(77.4% 0.136 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #DB98EC

    #DB98EC

    oklch(77.4% 0.136 319.3)

  • #BCBC49

    #BCBC49

    oklch(77.3% 0.136 109.2)

  • #40D1A7

    #40D1A7

    oklch(77.4% 0.136 169.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB98EC

    #DB98EC

    oklch(77.4% 0.136 319.3)

  • #E3AA41

    #E3AA41

    oklch(77.3% 0.136 79.2)

  • #00CED5

    #00CED5

    oklch(77.3% 0.131 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB98EC

    #DB98EC

    oklch(77.4% 0.136 319.3)

  • #FB9A62

    #FB9A62

    oklch(77.5% 0.137 49.7)

  • #86CA74

    #86CA74

    oklch(77.3% 0.136 139.3)

  • #3DC5FB

    #3DC5FB

    oklch(77.4% 0.136 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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