#CA40B5

Closest named color: Purpley Pink (#C83CB9). oklch(60.9% 0.214 334.6), rgb(202, 64, 181).

Aa

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

About this color

#CA40B5 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.214 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.011 away. Black text reads best on it, at 4.91:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.91:1
White text4.27:1

Values

HEX#CA40B5
RGBrgb(202, 64, 181)
HSLhsl(309, 57%, 52%)
OKLCHoklch(60.9% 0.214 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 #CA40B5 4.27:1 AA large text Lc -74.0 Content text, not long reading
Black text on #CA40B5 4.91:1 AA Lc 35.6 Non-text elements, placeholder text
#CA40B5 text on white 4.27:1 AA large text Lc 68.5 Content text, not long reading
#CA40B5 text on black 4.91:1 AA Lc -33.1 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

    #EBA7DC

    oklch(80.9% 0.105 334.7)

  5. Step 400

    400

    #DE74CA

    oklch(70.7% 0.167 334.7)

  6. Step 500

    500 (this color)

    #CA40B5

    oklch(60.9% 0.214 334.6)

  7. Step 600

    600

    #BD1CA8

    oklch(55.6% 0.232 334.7)

  8. Step 700

    700

    #A20590

    oklch(49% 0.216 334.6)

  9. Step 800

    800

    #840F75

    oklch(42.7% 0.179 334.7)

  10. Step 900

    900

    #6A195F

    oklch(37.6% 0.14 334.1)

  11. Step 950

    950

    #3F1137

    oklch(27% 0.088 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#CA40B5 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)#3F6DB80.230
Deuteranopia (no green cones)#6E82B20.198
Tritanopia (no blue cones)#D44B750.109
Achromatopsia (no color)#7A7A7A0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA40B5

    #CA40B5

    oklch(60.9% 0.214 334.6)

  • #009C58

    #009C58

    oklch(60.8% 0.151 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA40B5

    #CA40B5

    oklch(60.9% 0.214 334.6)

  • #A155E7

    #A155E7

    oklch(60.8% 0.214 304.7)

  • #E23172

    #E23172

    oklch(60.9% 0.214 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA40B5

    #CA40B5

    oklch(60.9% 0.214 334.6)

  • #6F9100

    #6F9100

    oklch(60.8% 0.152 124.5)

  • #00978B

    #00978B

    oklch(60.8% 0.107 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA40B5

    #CA40B5

    oklch(60.9% 0.214 334.6)

  • #9B8100

    #9B8100

    oklch(61% 0.125 94.7)

  • #0092AA

    #0092AA

    oklch(60.7% 0.107 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA40B5

    #CA40B5

    oklch(60.9% 0.214 334.6)

  • #BA6E00

    #BA6E00

    oklch(60.9% 0.137 64.4)

  • #009C58

    #009C58

    oklch(60.8% 0.151 154.8)

  • #0089D6

    #0089D6

    oklch(60.8% 0.152 244.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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