#CA37B3#CA37B3

#CA37B3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.223 H 335.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CA37B3
RGBrgb(202, 55, 179)
HSLhsl(309, 58%, 50%)
HSVhsv(309, 73%, 79%)
CMYKcmyk(0%, 72.8%, 11.4%, 20.8%)
CIE-LABlab(50.15, 69.31, -34.29)
CIE-LCHlch(50.15, 77.33, 333.67°)
OKLaboklab(59.98% 0.2023 -0.0937)
OKLCHoklch(59.98% 0.223 335.2)
XYZxyz(33.8604, 18.5466, 44.4356)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA37B3 #37CA4E
analogous
#9837CA #CA37B3 #CA3769
triadic
#CA37B3 #B3CA37 #37B3CA
tetradic
#CA37B3 #CA9837 #37CA4E #3769CA
square
#CA37B3 #CA9837 #37CA4E #3769CA
split-complementary
#CA37B3 #69CA37 #37CA98
monochromatic
#6A1C5E #9B2989 #CA37B3 #D767C5 #E498D8

Accessibility & contrast

On white

4.46
#CA37B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CA37B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA37B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA37B3#FFFFFF#000000##000000
##CA37B31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3769B6
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#D44371
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca37b3;
/* rgb */ color: rgb(202, 55, 179);
/* oklch */ color: oklch(60.0% 0.223 335.2);
Tailwind
colors: {
  custom: {
    50: '#de7cca',
    500: '#ca37b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca37b3;
$custom-light: #de7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca37b3",
  "rgb": {
    "r": 202,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 309.388,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59976,
    "c": 0.22296,
    "h": 335.2
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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