#CA42C8#CA42C8

#CA42C8 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.226 H 328.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA42C8
RGBrgb(202, 66, 200)
HSLhsl(301, 56%, 53%)
HSVhsv(301, 67%, 79%)
CMYKcmyk(0%, 67.3%, 1%, 20.8%)
CIE-LABlab(52.54, 68.77, -42.72)
CIE-LCHlch(52.54, 80.96, 328.15°)
OKLaboklab(62.04% 0.1926 -0.118)
OKLCHoklch(62.04% 0.226 328.5)
XYZxyz(36.7303, 20.6257, 56.6790)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42C8 #42CA44
analogous
#8842CA #CA42C8 #CA4284
triadic
#CA42C8 #C8CA42 #42C8CA
tetradic
#CA42C8 #CA8842 #42CA44 #4284CA
square
#CA42C8 #CA8842 #42CA44 #4284CA
split-complementary
#CA42C8 #84CA42 #42CA88
monochromatic
#722071 #A22DA0 #CA42C8 #D772D6 #E5A2E4

Accessibility & contrast

On white

4.10
#CA42C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CA42C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42C8#FFFFFF#000000##000000
##CA42C81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#D05480
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca42c8;
/* rgb */ color: rgb(202, 66, 200);
/* oklch */ color: oklch(62.0% 0.226 328.5);
Tailwind
colors: {
  custom: {
    50: '#de82d9',
    500: '#ca42c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca42c8;
$custom-light: #de82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42c8",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 300.882,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.2259,
    "h": 328.5
  },
  "luminance": 0.20623
}

Semantic roles & 50–950 ramp

primary
#CA42C8
secondary
#96D197
accent
#DF4B48
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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