#DB98F7

Closest named color: Baby Purple (#CA9BF7). oklch(77.9% 0.148 315.5), rgb(219, 152, 247).

Aa

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

About this color

#DB98F7 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.148 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.027 away. Black text reads best on it, at 9.84:1.

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

Values

HEX#DB98F7
RGBrgb(219, 152, 247)
HSLhsl(282, 86%, 78%)
OKLCHoklch(77.9% 0.148 315.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 #DB98F7 2.13:1 Fails Lc -46.3 Large or bold text, headings
Black text on #DB98F7 9.84:1 AAA Lc 62.3 Content text, not long reading
#DB98F7 text on white 2.13:1 Fails Lc 41.7 Non-text elements, placeholder text
#DB98F7 text on black 9.84:1 AAA Lc -60.6 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

    #FBF2FF

    oklch(97.2% 0.02 315.7)

  2. Step 100

    100

    #F5E2FE

    oklch(93.6% 0.042 315.1)

  3. Step 200

    200

    #EEC9FF

    oklch(88.4% 0.083 315.1)

  4. Step 300

    300 (this color)

    #DB98F7

    oklch(77.9% 0.148 315.5)

  5. Step 400

    400

    #D568FF

    oklch(70.7% 0.229 315.5)

  6. Step 500

    500

    #CA1CFF

    oklch(63.1% 0.298 315.5)

  7. Step 600

    600

    #AC00DC

    oklch(55.6% 0.273 315.3)

  8. Step 700

    700

    #9100BA

    oklch(49% 0.241 315.3)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900

    #650082

    oklch(37.8% 0.186 315.6)

  11. Step 950

    950

    #3C044E

    oklch(26.9% 0.125 315.5)

Export this scale for Tailwind in the Tailwind colors tool

#DB98F7 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)#88ADFB0.122
Deuteranopia (no green cones)#99B4F40.112
Tritanopia (no blue cones)#DAA5BC0.100
Achromatopsia (no color)#B1B1B10.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB98F7

    #DB98F7

    oklch(77.9% 0.148 315.5)

  • #8BCC68

    #8BCC68

    oklch(77.9% 0.148 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB98F7

    #DB98F7

    oklch(77.9% 0.148 315.5)

  • #B0ACFF

    #B0ACFF

    oklch(77.9% 0.117 285.5)

  • #F98ECC

    #F98ECC

    oklch(77.9% 0.148 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #DB98F7

    #DB98F7

    oklch(77.9% 0.148 315.5)

  • #C5BC36

    #C5BC36

    oklch(77.9% 0.148 105.5)

  • #38D4A0

    #38D4A0

    oklch(77.8% 0.148 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB98F7

    #DB98F7

    oklch(77.9% 0.148 315.5)

  • #EDA833

    #EDA833

    oklch(77.9% 0.148 75.6)

  • #00D1D2

    #00D1D2

    oklch(78% 0.133 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB98F7

    #DB98F7

    oklch(77.9% 0.148 315.5)

  • #FF9968

    #FF9968

    oklch(77.9% 0.138 45.8)

  • #8BCC68

    #8BCC68

    oklch(77.9% 0.148 135.6)

  • #00C9FE

    #00C9FE

    oklch(77.8% 0.148 225.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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