#CA37B8#CA37B8

#CA37B8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.226 H 333.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CA37B8
RGBrgb(202, 55, 184)
HSLhsl(307, 58%, 50%)
HSVhsv(307, 73%, 79%)
CMYKcmyk(0%, 72.8%, 8.9%, 20.8%)
CIE-LABlab(50.40, 70.05, -36.83)
CIE-LCHlch(50.40, 79.14, 332.26°)
OKLaboklab(60.23% 0.2027 -0.101)
OKLCHoklch(60.23% 0.226 333.5)
XYZxyz(34.3753, 18.7525, 47.1473)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37B8 #37CA49
analogous
#9237CA #CA37B8 #CA376E
triadic
#CA37B8 #B8CA37 #37B8CA
tetradic
#CA37B8 #CA9237 #37CA49 #376ECA
square
#CA37B8 #CA9237 #37CA49 #376ECA
split-complementary
#CA37B8 #6ECA37 #37CA92
monochromatic
#6A1C61 #9B298D #CA37B8 #D767C9 #E498DA

Accessibility & contrast

On white

4.42
#CA37B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CA37B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37B8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37B8#FFFFFF#000000##000000
##CA37B81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#326ABC
Deuteranopia (green-blind)
#697FB4
Tritanopia (blue-blind)
#D34574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca37b8;
/* rgb */ color: rgb(202, 55, 184);
/* oklch */ color: oklch(60.2% 0.226 333.5);
Tailwind
colors: {
  custom: {
    50: '#de7cce',
    500: '#ca37b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca37b8;
$custom-light: #de7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37b8",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 307.347,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.22645,
    "h": 333.5
  },
  "luminance": 0.1875
}

Semantic roles & 50–950 ramp

primary
#CA37B8
secondary
#8ECF96
accent
#E15946
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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