#CB37BA#CB37BA

#CB37BA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.228 H 333.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB37BA
RGBrgb(203, 55, 186)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 72.9%, 8.4%, 20.4%)
CIE-LABlab(50.66, 70.57, -37.57)
CIE-LCHlch(50.66, 79.95, 331.97°)
OKLaboklab(60.49% 0.2038 -0.1031)
OKLCHoklch(60.49% 0.228 333.2)
XYZxyz(34.8579, 18.9770, 48.2719)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37BA #37CB48
analogous
#9237CB #CB37BA #CB3770
triadic
#CB37BA #BACB37 #37BACB
tetradic
#CB37BA #CB9237 #37CB48 #3770CB
square
#CB37BA #CB9237 #37CB48 #3770CB
split-complementary
#CB37BA #70CB37 #37CB92
monochromatic
#6C1C62 #9C298F #CB37BA #D868CB #E498DC

Accessibility & contrast

On white

4.38
#CB37BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB37BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37BA#FFFFFF#000000##000000
##CB37BA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#6980B6
Tritanopia (blue-blind)
#D44675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb37ba;
/* rgb */ color: rgb(203, 55, 186);
/* oklch */ color: oklch(60.5% 0.228 333.2);
Tailwind
colors: {
  custom: {
    50: '#df7ccf',
    500: '#cb37ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb37ba;
$custom-light: #df7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37ba",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 306.892,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.22839,
    "h": 333.2
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#CB37BA
secondary
#8ED096
accent
#E25846
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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