#CA42CA#CA42CA

#CA42CA is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.1% C 0.227 H 327.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA42CA
RGBrgb(202, 66, 202)
HSLhsl(300, 56%, 53%)
HSVhsv(300, 67%, 79%)
CMYKcmyk(0%, 67.3%, 0%, 20.8%)
CIE-LABlab(52.64, 69.10, -43.70)
CIE-LCHlch(52.64, 81.76, 327.69°)
OKLaboklab(62.14% 0.1927 -0.1209)
OKLCHoklch(62.14% 0.227 327.9)
XYZxyz(36.9655, 20.7198, 57.9180)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42CA #42CA42
analogous
#8642CA #CA42CA #CA4286
triadic
#CA42CA #CACA42 #42CACA
tetradic
#CA42CA #CA8642 #42CA42 #4286CA
square
#CA42CA #CA8642 #42CA42 #4286CA
split-complementary
#CA42CA #86CA42 #42CA86
monochromatic
#722072 #A22DA2 #CA42CA #D772D7 #E5A2E5

Accessibility & contrast

On white

4.08
#CA42CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CA42CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42CA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42CA#FFFFFF#000000##000000
##CA42CA1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#D05581
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ca42ca;
/* rgb */ color: rgb(202, 66, 202);
/* oklch */ color: oklch(62.1% 0.227 327.9);
Tailwind
colors: {
  custom: {
    50: '#de82da',
    500: '#ca42ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca42ca;
$custom-light: #de82da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42ca",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.22746,
    "h": 327.9
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#CA42CA
secondary
#96D196
accent
#DF4848
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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