#CA42B5

Closest named color: Purpley Pink (#C83CB9). oklch(61.1% 0.212 334.6), rgb(202, 66, 181).

Aa

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

About this color

#CA42B5 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.212 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.013 away. Black text reads best on it, at 4.95:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.95:1
White text4.23:1

Values

HEX#CA42B5
RGBrgb(202, 66, 181)
HSLhsl(309, 56%, 53%)
OKLCHoklch(61.1% 0.212 334.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 #CA42B5 4.23:1 AA large text Lc -73.7 Content text, not long reading
Black text on #CA42B5 4.95:1 AA Lc 35.8 Non-text elements, placeholder text
#CA42B5 text on white 4.23:1 AA large text Lc 68.2 Content text, not long reading
#CA42B5 text on black 4.95:1 AA Lc -33.4 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CBE9

    oklch(88.4% 0.059 334.2)

  4. Step 300

    300

    #EAA7DC

    oklch(80.8% 0.104 334.2)

  5. Step 400

    400

    #DD75CA

    oklch(70.8% 0.165 334.4)

  6. Step 500

    500 (this color)

    #CA42B5

    oklch(61.1% 0.212 334.6)

  7. Step 600

    600

    #BC1FA8

    oklch(55.6% 0.23 334.4)

  8. Step 700

    700

    #A20990

    oklch(49.1% 0.214 334.6)

  9. Step 800

    800

    #831275

    oklch(42.7% 0.177 334.3)

  10. Step 900

    900

    #6A1A5E

    oklch(37.7% 0.138 334.7)

  11. Step 950

    950

    #3E1137

    oklch(26.9% 0.088 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#CA42B5 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)#416EB80.227
Deuteranopia (no green cones)#6F82B20.195
Tritanopia (no blue cones)#D34C760.106
Achromatopsia (no color)#7B7B7B0.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA42B5

    #CA42B5

    oklch(61.1% 0.212 334.6)

  • #009D58

    #009D58

    oklch(61.1% 0.152 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA42B5

    #CA42B5

    oklch(61.1% 0.212 334.6)

  • #A157E7

    #A157E7

    oklch(61.1% 0.211 304.5)

  • #E23473

    #E23473

    oklch(61.1% 0.212 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA42B5

    #CA42B5

    oklch(61.1% 0.212 334.6)

  • #6F9200

    #6F9200

    oklch(61.1% 0.153 124.8)

  • #00988B

    #00988B

    oklch(61.1% 0.108 184.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA42B5

    #CA42B5

    oklch(61.1% 0.212 334.6)

  • #9B8100

    #9B8100

    oklch(61% 0.125 94.7)

  • #0093AB

    #0093AB

    oklch(61% 0.108 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA42B5

    #CA42B5

    oklch(61.1% 0.212 334.6)

  • #BB6F00

    #BB6F00

    oklch(61.2% 0.138 64.7)

  • #009D58

    #009D58

    oklch(61.1% 0.152 154.6)

  • #008AD7

    #008AD7

    oklch(61.1% 0.152 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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