#CA42D3#CA42D3

#CA42D3 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.6% C 0.235 H 325.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CA42D3
RGBrgb(202, 66, 211)
HSLhsl(296, 62%, 54%)
HSVhsv(296, 69%, 83%)
CMYKcmyk(4.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(53.12, 70.60, -48.09)
CIE-LCHlch(53.12, 85.42, 325.74°)
OKLaboklab(62.65% 0.1928 -0.1336)
OKLCHoklch(62.65% 0.235 325.3)
XYZxyz(38.0623, 21.1586, 63.6946)
Luminance0.2116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42D3 #4BD342
analogous
#8242D3 #CA42D3 #D34294
triadic
#CA42D3 #D3CA42 #42D3CA
tetradic
#CA42D3 #D38242 #4BD342 #4294D3
square
#CA42D3 #D38242 #4BD342 #4294D3
split-complementary
#CA42D3 #94D342 #42D382
monochromatic
#771D7D #A729AF #CA42D3 #D874DF #E6A5EA

Accessibility & contrast

On white

4.01
#CA42D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CA42D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42D3#FFFFFF#000000##000000
##CA42D31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D7
Deuteranopia (green-blind)
#5F85CF
Tritanopia (blue-blind)
#CF5986
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca42d3;
/* rgb */ color: rgb(202, 66, 211);
/* oklch */ color: oklch(62.6% 0.235 325.3);
Tailwind
colors: {
  custom: {
    50: '#de82e1',
    500: '#ca42d3',
    950: '#000000',
  },
}
SCSS
$custom: #ca42d3;
$custom-light: #de82e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42d3",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 296.276,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62645,
    "c": 0.23457,
    "h": 325.3
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#CA42D3
secondary
#9DD79A
accent
#E5424D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CA42D3

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

Preview Lab → · Contrast checker → · Palette generator →

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