#CA36B2#CA36B2

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

Color values

HEX#CA36B2
RGBrgb(202, 54, 178)
HSLhsl(310, 58%, 50%)
HSVhsv(310, 73%, 79%)
CMYKcmyk(0%, 73.3%, 11.9%, 20.8%)
CIE-LABlab(49.99, 69.48, -33.96)
CIE-LCHlch(49.99, 77.34, 333.95°)
OKLaboklab(59.85% 0.2032 -0.0927)
OKLCHoklch(59.85% 0.223 335.5)
XYZxyz(33.7126, 18.4123, 43.8892)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA36B2 #36CA4E
analogous
#9836CA #CA36B2 #CA3668
triadic
#CA36B2 #B2CA36 #36B2CA
tetradic
#CA36B2 #CA9836 #36CA4E #3668CA
square
#CA36B2 #CA9836 #36CA4E #3668CA
split-complementary
#CA36B2 #68CA36 #36CA98
monochromatic
#6A1C5D #9A2988 #CA36B2 #D766C5 #E497D7

Accessibility & contrast

On white

4.49
#CA36B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CA36B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA36B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA36B2#FFFFFF#000000##000000
##CA36B21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca36b2;
/* rgb */ color: rgb(202, 54, 178);
/* oklch */ color: oklch(59.8% 0.223 335.5);
Tailwind
colors: {
  custom: {
    50: '#de7bc9',
    500: '#ca36b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca36b2;
$custom-light: #de7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca36b2",
  "rgb": {
    "r": 202,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 309.73,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.22333,
    "h": 335.5
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#CA36B2
secondary
#8DCF98
accent
#E15F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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