#CB37B8#CB37B8

#CB37B8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.227 H 333.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB37B8
RGBrgb(203, 55, 184)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 72.9%, 9.4%, 20.4%)
CIE-LABlab(50.56, 70.27, -36.56)
CIE-LCHlch(50.56, 79.21, 332.51°)
OKLaboklab(60.38% 0.2037 -0.1002)
OKLCHoklch(60.38% 0.227 333.8)
XYZxyz(34.6468, 18.8926, 47.1600)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B8 #37CB4A
analogous
#9437CB #CB37B8 #CB376E
triadic
#CB37B8 #B8CB37 #37B8CB
tetradic
#CB37B8 #CB9437 #37CB4A #376ECB
square
#CB37B8 #CB9437 #37CB4A #376ECB
split-complementary
#CB37B8 #6ECB37 #37CB94
monochromatic
#6C1C61 #9C298D #CB37B8 #D868C9 #E498DA

Accessibility & contrast

On white

4.40
#CB37B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB37B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B8#FFFFFF#000000##000000
##CB37B81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#336BBC
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#D44574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b8;
/* rgb */ color: rgb(203, 55, 184);
/* oklch */ color: oklch(60.4% 0.227 333.8);
Tailwind
colors: {
  custom: {
    50: '#df7cce',
    500: '#cb37b8',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b8;
$custom-light: #df7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b8",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 307.703,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.22698,
    "h": 333.8
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#CB37B8
secondary
#8ED096
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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