#DB22D4

Closest named color: Purple Pink (#D725DE). oklch(63% 0.271 330), rgb(219, 34, 212).

Aa

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

About this color

#DB22D4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.271 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.018 away. Black text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.271)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.19:1
White text4.04:1

Values

HEX#DB22D4
RGBrgb(219, 34, 212)
HSLhsl(302, 73%, 50%)
OKLCHoklch(63% 0.271 330)

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 #DB22D4 4.04:1 AA large text Lc -71.3 Content text, not long reading
Black text on #DB22D4 5.19:1 AA Lc 38.3 Non-text elements, placeholder text
#DB22D4 text on white 4.04:1 AA large text Lc 65.8 Content text, not long reading
#DB22D4 text on black 5.19:1 AA Lc -35.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FDF1FB

    oklch(97% 0.018 331.1)

  2. Step 100

    100

    #F9E1F6

    oklch(93.5% 0.038 329.9)

  3. Step 200

    200

    #F6C8F1

    oklch(88.5% 0.074 329.8)

  4. Step 300

    300

    #F1A0E9

    oklch(80.9% 0.133 330.2)

  5. Step 400

    400

    #E665DE

    oklch(70.7% 0.212 330)

  6. Step 500

    500 (this color)

    #DB22D4

    oklch(63% 0.271 330)

  7. Step 600

    600

    #BD00B7

    oklch(55.7% 0.254 330.1)

  8. Step 700

    700

    #A0009B

    oklch(49.2% 0.224 330)

  9. Step 800

    800

    #840080

    oklch(42.8% 0.195 330)

  10. Step 900

    900

    #6F006B

    oklch(37.7% 0.172 330.2)

  11. Step 950

    950

    #42073F

    oklch(27% 0.111 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#DB22D4 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)#006FD80.295
Deuteranopia (no green cones)#6387D00.249
Tritanopia (no blue cones)#E343800.145
Achromatopsia (no color)#7E7E7E0.273

Harmonies

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

Complementary

The opposite hue (180°).

  • #DB22D4

    #DB22D4

    oklch(63% 0.271 330)

  • #00A54B

    #00A54B

    oklch(63.1% 0.174 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DB22D4

    #DB22D4

    oklch(63% 0.271 330)

  • #A258FF

    #A258FF

    oklch(63% 0.236 300)

  • #F60083

    #F60083

    oklch(63% 0.256 360)

Open the analogous palette in the generator

Split complementary

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

  • #DB22D4

    #DB22D4

    oklch(63% 0.271 330)

  • #7E9500

    #7E9500

    oklch(62.9% 0.149 120)

  • #009F8C

    #009F8C

    oklch(63% 0.114 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DB22D4

    #DB22D4

    oklch(63% 0.271 330)

  • #A78500

    #A78500

    oklch(63.1% 0.129 90.6)

  • #009BAE

    #009BAE

    oklch(63.2% 0.109 210)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DB22D4

    #DB22D4

    oklch(63% 0.271 330)

  • #C87000

    #C87000

    oklch(63.1% 0.147 60.3)

  • #00A54B

    #00A54B

    oklch(63.1% 0.174 149.9)

  • #0092D7

    #0092D7

    oklch(63% 0.145 240.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DB22D4.

Similar named colors

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

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