#CA37B4#CA37B4

#CA37B4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.224 H 334.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CA37B4
RGBrgb(202, 55, 180)
HSLhsl(309, 58%, 50%)
HSVhsv(309, 73%, 79%)
CMYKcmyk(0%, 72.8%, 10.9%, 20.8%)
CIE-LABlab(50.20, 69.46, -34.80)
CIE-LCHlch(50.20, 77.69, 333.39°)
OKLaboklab(60.03% 0.2024 -0.0951)
OKLCHoklch(60.03% 0.224 334.8)
XYZxyz(33.9619, 18.5872, 44.9702)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37B4 #37CA4D
analogous
#9737CA #CA37B4 #CA376A
triadic
#CA37B4 #B4CA37 #37B4CA
tetradic
#CA37B4 #CA9737 #37CA4D #376ACA
square
#CA37B4 #CA9737 #37CA4D #376ACA
split-complementary
#CA37B4 #6ACA37 #37CA97
monochromatic
#6A1C5F #9B298A #CA37B4 #D767C6 #E498D8

Accessibility & contrast

On white

4.45
#CA37B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CA37B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37B4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37B4#FFFFFF#000000##000000
##CA37B41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#366AB7
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#D44372
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca37b4;
/* rgb */ color: rgb(202, 55, 180);
/* oklch */ color: oklch(60.0% 0.224 334.8);
Tailwind
colors: {
  custom: {
    50: '#de7ccb',
    500: '#ca37b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca37b4;
$custom-light: #de7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37b4",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 308.98,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.22365,
    "h": 334.8
  },
  "luminance": 0.18584
}

Semantic roles & 50–950 ramp

primary
#CA37B4
secondary
#8ECF97
accent
#E15E46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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