#CA37B7#CA37B7

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

Color values

HEX#CA37B7
RGBrgb(202, 55, 183)
HSLhsl(308, 58%, 50%)
HSVhsv(308, 73%, 79%)
CMYKcmyk(0%, 72.8%, 9.4%, 20.8%)
CIE-LABlab(50.35, 69.90, -36.33)
CIE-LCHlch(50.35, 78.77, 332.54°)
OKLaboklab(60.18% 0.2026 -0.0995)
OKLCHoklch(60.18% 0.226 333.8)
XYZxyz(34.2708, 18.7108, 46.5972)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37B7 #37CA4A
analogous
#9337CA #CA37B7 #CA376D
triadic
#CA37B7 #B7CA37 #37B7CA
tetradic
#CA37B7 #CA9337 #37CA4A #376DCA
square
#CA37B7 #CA9337 #37CA4A #376DCA
split-complementary
#CA37B7 #6DCA37 #37CA93
monochromatic
#6A1C60 #9B298C #CA37B7 #D767C8 #E498DA

Accessibility & contrast

On white

4.43
#CA37B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CA37B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37B7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37B7#FFFFFF#000000##000000
##CA37B71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#336ABB
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#D34574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca37b7;
/* rgb */ color: rgb(202, 55, 183);
/* oklch */ color: oklch(60.2% 0.226 333.8);
Tailwind
colors: {
  custom: {
    50: '#de7ccd',
    500: '#ca37b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca37b7;
$custom-light: #de7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37b7",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 307.755,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.22574,
    "h": 333.8
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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