#D042CC

Closest named color: Pinky Purple (#C94CBE). oklch(63.1% 0.232 329.1), rgb(208, 66, 204).

Aa

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

About this color

#D042CC is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.232 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.029 away. Black text reads best on it, at 5.33:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.232)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.33:1
White text3.93:1

Values

HEX#D042CC
RGBrgb(208, 66, 204)
HSLhsl(302, 60%, 54%)
OKLCHoklch(63.1% 0.232 329.1)

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 #D042CC 3.93:1 AA large text Lc -71.2 Content text, not long reading
Black text on #D042CC 5.33:1 AA Lc 38.4 Non-text elements, placeholder text
#D042CC text on white 3.93:1 AA large text Lc 65.7 Content text, not long reading
#D042CC text on black 5.33:1 AA Lc -36.0 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

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F7E2F5

    oklch(93.5% 0.034 328.8)

  3. Step 200

    200

    #F1CBEE

    oklch(88.5% 0.063 328.6)

  4. Step 300

    300

    #EAA6E5

    oklch(81% 0.114 329.1)

  5. Step 400

    400

    #DC71D7

    oklch(70.6% 0.182 329)

  6. Step 500

    500 (this color)

    #D042CC

    oklch(63.1% 0.232 329.1)

  7. Step 600

    600

    #BB06B9

    oklch(55.6% 0.252 328.9)

  8. Step 700

    700

    #9F009D

    oklch(49.2% 0.225 329)

  9. Step 800

    800

    #830281

    oklch(42.7% 0.194 329.1)

  10. Step 900

    900

    #691568

    oklch(37.7% 0.151 328.6)

  11. Step 950

    950

    #3E0F3D

    oklch(27% 0.096 328.7)

Export this scale for Tailwind in the Tailwind colors tool

#D042CC 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)#3074D00.246
Deuteranopia (no green cones)#6987C80.209
Tritanopia (no blue cones)#D755820.128
Achromatopsia (no color)#8080800.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #D042CC

    #D042CC

    oklch(63.1% 0.232 329.1)

  • #00A547

    #00A547

    oklch(63% 0.178 149.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D042CC

    #D042CC

    oklch(63.1% 0.232 329.1)

  • #A05BFF

    #A05BFF

    oklch(63.1% 0.232 298.9)

  • #ED2D86

    #ED2D86

    oklch(63.1% 0.231 359)

Open the analogous palette in the generator

Split complementary

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

  • #D042CC

    #D042CC

    oklch(63.1% 0.232 329.1)

  • #809500

    #809500

    oklch(63.1% 0.149 119.2)

  • #00A08B

    #00A08B

    oklch(63.2% 0.115 179)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D042CC

    #D042CC

    oklch(63.1% 0.232 329.1)

  • #A98400

    #A98400

    oklch(63.1% 0.129 88.8)

  • #009BAD

    #009BAD

    oklch(63.1% 0.109 209.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D042CC

    #D042CC

    oklch(63.1% 0.232 329.1)

  • #CA6F00

    #CA6F00

    oklch(63.2% 0.15 59.1)

  • #00A547

    #00A547

    oklch(63% 0.178 149.1)

  • #0093D5

    #0093D5

    oklch(63.1% 0.142 238.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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