#CA42B9#CA42B9

#CA42B9 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.3% C 0.215 H 333.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CA42B9
RGBrgb(202, 66, 185)
HSLhsl(308, 56%, 53%)
HSVhsv(308, 67%, 79%)
CMYKcmyk(0%, 67.3%, 8.4%, 20.8%)
CIE-LABlab(51.79, 66.40, -35.22)
CIE-LCHlch(51.79, 75.16, 332.05°)
OKLaboklab(61.25% 0.1916 -0.0964)
OKLCHoklch(61.25% 0.215 333.3)
XYZxyz(35.0625, 19.9586, 47.8953)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42B9 #42CA53
analogous
#9742CA #CA42B9 #CA4275
triadic
#CA42B9 #B9CA42 #42B9CA
tetradic
#CA42B9 #CA9742 #42CA53 #4275CA
square
#CA42B9 #CA9742 #42CA53 #4275CA
split-complementary
#CA42B9 #75CA42 #42CA97
monochromatic
#722067 #A22D93 #CA42B9 #D772CB #E5A2DC

Accessibility & contrast

On white

4.21
#CA42B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CA42B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42B9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42B9#FFFFFF#000000##000000
##CA42B91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#6D82B6
Tritanopia (blue-blind)
#D34E78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca42b9;
/* rgb */ color: rgb(202, 66, 185);
/* oklch */ color: oklch(61.3% 0.215 333.3);
Tailwind
colors: {
  custom: {
    50: '#de81ce',
    500: '#ca42b9',
    950: '#000000',
  },
}
SCSS
$custom: #ca42b9;
$custom-light: #de81ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42b9",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 307.5,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.21453,
    "h": 333.3
  },
  "luminance": 0.19956
}

Semantic roles & 50–950 ramp

primary
#CA42B9
secondary
#96D19E
accent
#DF5B48
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA42B9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA42B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva