#CB37B4#CB37B4

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

Color values

HEX#CB37B4
RGBrgb(203, 55, 180)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 72.9%, 11.3%, 20.4%)
CIE-LABlab(50.37, 69.68, -34.53)
CIE-LCHlch(50.37, 77.77, 333.64°)
OKLaboklab(60.18% 0.2034 -0.0943)
OKLCHoklch(60.18% 0.224 335.1)
XYZxyz(34.2334, 18.7272, 44.9829)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B4 #37CB4E
analogous
#9837CB #CB37B4 #CB376A
triadic
#CB37B4 #B4CB37 #37B4CB
tetradic
#CB37B4 #CB9837 #37CB4E #376ACB
square
#CB37B4 #CB9837 #37CB4E #376ACB
split-complementary
#CB37B4 #6ACB37 #37CB98
monochromatic
#6C1C5F #9C298A #CB37B4 #D868C6 #E498D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB37B4#FFFFFF#000000##000000
##CB37B41.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)
#376AB7
Deuteranopia (green-blind)
#6B80B0
Tritanopia (blue-blind)
#D54372
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b4;
/* rgb */ color: rgb(203, 55, 180);
/* oklch */ color: oklch(60.2% 0.224 335.1);
Tailwind
colors: {
  custom: {
    50: '#df7ccb',
    500: '#cb37b4',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b4;
$custom-light: #df7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b4",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 309.324,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60178,
    "c": 0.2242,
    "h": 335.1
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#CB37B4
secondary
#8ED098
accent
#E25E46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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