#CD42D3

Closest named color: Pinky Purple (#C94CBE). oklch(63.1% 0.236 326.2), rgb(205, 66, 211).

Aa

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

About this color

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

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

Values

HEX#CD42D3
RGBrgb(205, 66, 211)
HSLhsl(298, 62%, 54%)
OKLCHoklch(63.1% 0.236 326.2)

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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBF0

    oklch(88.5% 0.064 326.1)

  4. Step 300

    300

    #E8A6E8

    oklch(80.9% 0.116 326.6)

  5. Step 400

    400

    #DA72DD

    oklch(70.8% 0.184 326.3)

  6. Step 500

    500 (this color)

    #CD42D3

    oklch(63.1% 0.236 326.2)

  7. Step 600

    600

    #B805C0

    oklch(55.5% 0.256 326.1)

  8. Step 700

    700

    #9C00A3

    oklch(49.1% 0.228 326)

  9. Step 800

    800

    #810186

    oklch(42.7% 0.198 326.4)

  10. Step 900

    900

    #68156C

    oklch(37.8% 0.154 326)

  11. Step 950

    950

    #3D0F3F

    oklch(26.9% 0.098 326.1)

Export this scale for Tailwind in the Tailwind colors tool

#CD42D3 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)#2375D70.248
Deuteranopia (no green cones)#6286CF0.210
Tritanopia (no blue cones)#D259860.135
Achromatopsia (no color)#8080800.238

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD42D3

    #CD42D3

    oklch(63.1% 0.236 326.2)

  • #00A636

    #00A636

    oklch(63.1% 0.192 146.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD42D3

    #CD42D3

    oklch(63.1% 0.236 326.2)

  • #9A5FFF

    #9A5FFF

    oklch(63.1% 0.226 296.3)

  • #ED2A8D

    #ED2A8D

    oklch(63.1% 0.236 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD42D3

    #CD42D3

    oklch(63.1% 0.236 326.2)

  • #859300

    #859300

    oklch(63% 0.144 116.3)

  • #00A087

    #00A087

    oklch(63.1% 0.118 176.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD42D3

    #CD42D3

    oklch(63.1% 0.236 326.2)

  • #AC8200

    #AC8200

    oklch(63% 0.129 85.7)

  • #009BA9

    #009BA9

    oklch(63% 0.108 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD42D3

    #CD42D3

    oklch(63.1% 0.236 326.2)

  • #CD6C00

    #CD6C00

    oklch(63.1% 0.154 56.4)

  • #00A636

    #00A636

    oklch(63.1% 0.192 146.2)

  • #0094D0

    #0094D0

    oklch(63.1% 0.136 236.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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