#CD42D5

Closest named color: Purple Pink (#D725DE). oklch(63.2% 0.238 325.6), rgb(205, 66, 213).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.238)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.33:1
White text3.93:1

Values

HEX#CD42D5
RGBrgb(205, 66, 213)
HSLhsl(297, 64%, 55%)
OKLCHoklch(63.2% 0.238 325.6)

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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F6E3F6

    oklch(93.7% 0.032 325.8)

  3. Step 200

    200

    #F0CBF1

    oklch(88.5% 0.065 325.3)

  4. Step 300

    300

    #E7A6E9

    oklch(80.8% 0.116 325.6)

  5. Step 400

    400

    #D971DE

    oklch(70.6% 0.186 325.6)

  6. Step 500

    500 (this color)

    #CD42D5

    oklch(63.2% 0.238 325.6)

  7. Step 600

    600

    #B802C2

    oklch(55.6% 0.258 325.5)

  8. Step 700

    700

    #9C00A4

    oklch(49.1% 0.229 325.7)

  9. Step 800

    800

    #810088

    oklch(42.8% 0.2 325.6)

  10. Step 900

    900

    #68146D

    oklch(37.8% 0.156 325.6)

  11. Step 950

    950

    #3D0F40

    oklch(27% 0.099 325.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD42D5 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)#1F75D90.249
Deuteranopia (no green cones)#6186D10.211
Tritanopia (no blue cones)#D259870.136
Achromatopsia (no color)#8080800.240

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD42D5

    #CD42D5

    oklch(63.2% 0.238 325.6)

  • #00A632

    #00A632

    oklch(63.1% 0.195 145.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD42D5

    #CD42D5

    oklch(63.2% 0.238 325.6)

  • #9961FF

    #9961FF

    oklch(63.3% 0.224 295.6)

  • #ED298F

    #ED298F

    oklch(63.1% 0.238 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #CD42D5

    #CD42D5

    oklch(63.2% 0.238 325.6)

  • #879300

    #879300

    oklch(63.2% 0.144 115.4)

  • #00A086

    #00A086

    oklch(63% 0.118 175.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD42D5

    #CD42D5

    oklch(63.2% 0.238 325.6)

  • #AD8200

    #AD8200

    oklch(63.1% 0.129 85.1)

  • #009CA9

    #009CA9

    oklch(63.2% 0.108 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD42D5

    #CD42D5

    oklch(63.2% 0.238 325.6)

  • #CE6B00

    #CE6B00

    oklch(63.1% 0.155 55.5)

  • #00A632

    #00A632

    oklch(63.1% 0.195 145.7)

  • #0095CF

    #0095CF

    oklch(63.2% 0.134 235.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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