#CA37B2#CA37B2

#CA37B2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.222 H 335.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA37B2
RGBrgb(202, 55, 178)
HSLhsl(310, 58%, 50%)
HSVhsv(310, 73%, 79%)
CMYKcmyk(0%, 72.8%, 11.9%, 20.8%)
CIE-LABlab(50.10, 69.16, -33.78)
CIE-LCHlch(50.10, 76.97, 333.97°)
OKLaboklab(59.93% 0.2022 -0.0922)
OKLCHoklch(59.93% 0.222 335.5)
XYZxyz(33.7596, 18.5063, 43.9049)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37B2 #37CA4F
analogous
#9837CA #CA37B2 #CA3768
triadic
#CA37B2 #B2CA37 #37B2CA
tetradic
#CA37B2 #CA9837 #37CA4F #3768CA
square
#CA37B2 #CA9837 #37CA4F #3768CA
split-complementary
#CA37B2 #68CA37 #37CA98
monochromatic
#6A1C5E #9B2988 #CA37B2 #D767C5 #E498D7

Accessibility & contrast

On white

4.47
#CA37B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CA37B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37B2#FFFFFF#000000##000000
##CA37B21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca37b2;
/* rgb */ color: rgb(202, 55, 178);
/* oklch */ color: oklch(59.9% 0.222 335.5);
Tailwind
colors: {
  custom: {
    50: '#de7cc9',
    500: '#ca37b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca37b2;
$custom-light: #de7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37b2",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 309.796,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.22226,
    "h": 335.5
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#CA37B2
secondary
#8ECF98
accent
#E16046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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