#CB37B6#CB37B6

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

Color values

HEX#CB37B6
RGBrgb(203, 55, 182)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 72.9%, 10.3%, 20.4%)
CIE-LABlab(50.46, 69.98, -35.55)
CIE-LCHlch(50.46, 78.49, 333.07°)
OKLaboklab(60.28% 0.2035 -0.0973)
OKLCHoklch(60.28% 0.226 334.5)
XYZxyz(34.4386, 18.8093, 46.0637)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B6 #37CB4C
analogous
#9637CB #CB37B6 #CB376C
triadic
#CB37B6 #B6CB37 #37B6CB
tetradic
#CB37B6 #CB9637 #37CB4C #376CCB
square
#CB37B6 #CB9637 #37CB4C #376CCB
split-complementary
#CB37B6 #6CCB37 #37CB96
monochromatic
#6C1C60 #9C298C #CB37B6 #D868C8 #E498D9

Accessibility & contrast

On white

4.41
#CB37B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CB37B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B6#FFFFFF#000000##000000
##CB37B61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#356AB9
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#D54473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b6;
/* rgb */ color: rgb(203, 55, 182);
/* oklch */ color: oklch(60.3% 0.226 334.5);
Tailwind
colors: {
  custom: {
    50: '#df7ccc',
    500: '#cb37b6',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b6;
$custom-light: #df7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b6",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 308.514,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.22558,
    "h": 334.5
  },
  "luminance": 0.18806
}

Semantic roles & 50–950 ramp

primary
#CB37B6
secondary
#8ED097
accent
#E25C46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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