#DF12D5

Closest named color: Purple Pink (#D725DE). oklch(63.2% 0.281 330.8), rgb(223, 18, 213).

Aa

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

About this color

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

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

Values

HEX#DF12D5
RGBrgb(223, 18, 213)
HSLhsl(303, 85%, 47%)
OKLCHoklch(63.2% 0.281 330.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 #DF12D5 4.05:1 AA large text Lc -71.0 Content text, not long reading
Black text on #DF12D5 5.18:1 AA Lc 38.6 Non-text elements, placeholder text
#DF12D5 text on white 4.05:1 AA large text Lc 65.5 Content text, not long reading
#DF12D5 text on black 5.18:1 AA Lc -36.2 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

    #FAE1F6

    oklch(93.6% 0.039 331.1)

  3. Step 200

    200

    #F7C7F1

    oklch(88.4% 0.077 330.4)

  4. Step 300

    300

    #F39FEA

    oklch(81% 0.137 330.6)

  5. Step 400

    400

    #E961DE

    oklch(70.6% 0.22 330.9)

  6. Step 500

    500 (this color)

    #DF12D5

    oklch(63.2% 0.281 330.8)

  7. Step 600

    600

    #BD00B5

    oklch(55.5% 0.252 330.7)

  8. Step 700

    700

    #A00099

    oklch(49.1% 0.223 330.7)

  9. Step 800

    800

    #84007E

    oklch(42.6% 0.194 330.8)

  10. Step 900

    900

    #6F006A

    oklch(37.7% 0.171 330.7)

  11. Step 950

    950

    #430440

    oklch(27% 0.116 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#DF12D5 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)#006ED90.305
Deuteranopia (no green cones)#6387D10.259
Tritanopia (no blue cones)#E83D7E0.150
Achromatopsia (no color)#7E7E7E0.283

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF12D5

    #DF12D5

    oklch(63.2% 0.281 330.8)

  • #00A54F

    #00A54F

    oklch(63.2% 0.171 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF12D5

    #DF12D5

    oklch(63.2% 0.281 330.8)

  • #A457FF

    #A457FF

    oklch(63.1% 0.238 300.8)

  • #F70081

    #F70081

    oklch(63.1% 0.256 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #DF12D5

    #DF12D5

    oklch(63.2% 0.281 330.8)

  • #7D9600

    #7D9600

    oklch(63.1% 0.151 120.8)

  • #00A08D

    #00A08D

    oklch(63.3% 0.114 180.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF12D5

    #DF12D5

    oklch(63.2% 0.281 330.8)

  • #A78500

    #A78500

    oklch(63.1% 0.129 90.6)

  • #009BAF

    #009BAF

    oklch(63.2% 0.11 210.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF12D5

    #DF12D5

    oklch(63.2% 0.281 330.8)

  • #C87100

    #C87100

    oklch(63.3% 0.147 60.9)

  • #00A54F

    #00A54F

    oklch(63.2% 0.171 150.8)

  • #0092D9

    #0092D9

    oklch(63.1% 0.147 241)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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