#DB98F3

Closest named color: Baby Purple (#CA9BF7). oklch(77.7% 0.144 316.8), rgb(219, 152, 243).

Aa

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

About this color

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

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

Values

HEX#DB98F3
RGBrgb(219, 152, 243)
HSLhsl(284, 79%, 77%)
OKLCHoklch(77.7% 0.144 316.8)

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 #DB98F3 2.14:1 Fails Lc -46.6 Large or bold text, headings
Black text on #DB98F3 9.79:1 AAA Lc 62.0 Content text, not long reading
#DB98F3 text on white 2.14:1 Fails Lc 41.9 Non-text elements, placeholder text
#DB98F3 text on black 9.79:1 AAA Lc -60.3 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

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F5E2FD

    oklch(93.6% 0.041 316)

  3. Step 200

    200

    #EFC9FD

    oklch(88.5% 0.081 316.9)

  4. Step 300

    300 (this color)

    #DB98F3

    oklch(77.7% 0.144 316.8)

  5. Step 400

    400

    #D867FD

    oklch(70.8% 0.23 317)

  6. Step 500

    500

    #CB1FFB

    oklch(63.1% 0.294 316.6)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #660080

    oklch(37.8% 0.184 316.8)

  11. Step 950

    950

    #3D064C

    oklch(27.1% 0.122 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#DB98F3 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)#8AADF60.120
Deuteranopia (no green cones)#9BB3F00.109
Tritanopia (no blue cones)#DBA4BA0.096
Achromatopsia (no color)#B1B1B10.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB98F3

    #DB98F3

    oklch(77.7% 0.144 316.8)

  • #89CB6C

    #89CB6C

    oklch(77.6% 0.144 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB98F3

    #DB98F3

    oklch(77.7% 0.144 316.8)

  • #B1AAFF

    #B1AAFF

    oklch(77.6% 0.12 287)

  • #F88EC8

    #F88EC8

    oklch(77.6% 0.145 347)

Open the analogous palette in the generator

Split complementary

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

  • #DB98F3

    #DB98F3

    oklch(77.7% 0.144 316.8)

  • #C1BC3E

    #C1BC3E

    oklch(77.7% 0.144 107.1)

  • #3BD3A3

    #3BD3A3

    oklch(77.7% 0.143 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB98F3

    #DB98F3

    oklch(77.7% 0.144 316.8)

  • #E9A938

    #E9A938

    oklch(77.7% 0.144 77.3)

  • #00D0D3

    #00D0D3

    oklch(77.8% 0.132 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB98F3

    #DB98F3

    oklch(77.7% 0.144 316.8)

  • #FF9864

    #FF9864

    oklch(77.7% 0.141 46.7)

  • #89CB6C

    #89CB6C

    oklch(77.6% 0.144 136.8)

  • #23C8FD

    #23C8FD

    oklch(77.8% 0.144 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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