#CA37BA#CA37BA

#CA37BA is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.228 H 332.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA37BA
RGBrgb(202, 55, 186)
HSLhsl(307, 58%, 50%)
HSVhsv(307, 73%, 79%)
CMYKcmyk(0%, 72.8%, 7.9%, 20.8%)
CIE-LABlab(50.50, 70.34, -37.84)
CIE-LCHlch(50.50, 79.88, 331.72°)
OKLaboklab(60.34% 0.2028 -0.1039)
OKLCHoklch(60.34% 0.228 332.9)
XYZxyz(34.5864, 18.8370, 48.2592)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37BA #37CA47
analogous
#9137CA #CA37BA #CA3770
triadic
#CA37BA #BACA37 #37BACA
tetradic
#CA37BA #CA9137 #37CA47 #3770CA
square
#CA37BA #CA9137 #37CA47 #3770CA
split-complementary
#CA37BA #70CA37 #37CA91
monochromatic
#6A1C62 #9B298E #CA37BA #D767CB #E498DB

Accessibility & contrast

On white

4.41
#CA37BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CA37BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37BA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37BA#FFFFFF#000000##000000
##CA37BA1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#D34675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca37ba;
/* rgb */ color: rgb(202, 55, 186);
/* oklch */ color: oklch(60.3% 0.228 332.9);
Tailwind
colors: {
  custom: {
    50: '#de7ccf',
    500: '#ca37ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca37ba;
$custom-light: #de7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37ba",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 306.531,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.22787,
    "h": 332.9
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#CA37BA
secondary
#8ECF95
accent
#E15746
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CA37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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