#CA35B2#CA35B2

#CA35B2 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.224 H 335.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CA35B2
RGBrgb(202, 53, 178)
HSLhsl(310, 58%, 50%)
HSVhsv(310, 74%, 79%)
CMYKcmyk(0%, 73.8%, 11.9%, 20.8%)
CIE-LABlab(49.88, 69.80, -34.13)
CIE-LCHlch(49.88, 77.70, 333.94°)
OKLaboklab(59.77% 0.2041 -0.0932)
OKLCHoklch(59.77% 0.224 335.5)
XYZxyz(33.6666, 18.3201, 43.8739)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA35B2 #35CA4D
analogous
#9735CA #CA35B2 #CA3568
triadic
#CA35B2 #B2CA35 #35B2CA
tetradic
#CA35B2 #CA9735 #35CA4D #3568CA
square
#CA35B2 #CA9735 #35CA4D #3568CA
split-complementary
#CA35B2 #68CA35 #35CA97
monochromatic
#691C5D #9A2887 #CA35B2 #D765C4 #E396D7

Accessibility & contrast

On white

4.50
#CA35B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CA35B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA35B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA35B2#FFFFFF#000000##000000
##CA35B21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#D44170
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca35b2;
/* rgb */ color: rgb(202, 53, 178);
/* oklch */ color: oklch(59.8% 0.224 335.5);
Tailwind
colors: {
  custom: {
    50: '#de7bc9',
    500: '#ca35b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca35b2;
$custom-light: #de7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca35b2",
  "rgb": {
    "r": 202,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 309.664,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.59766,
    "c": 0.22438,
    "h": 335.5
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#CA35B2
secondary
#8CCF97
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA35B2

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

Preview Lab → · Contrast checker → · Palette generator →

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