#CB37BD#CB37BD

#CB37BD is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.231 H 332.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB37BD
RGBrgb(203, 55, 189)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 72.9%, 6.9%, 20.4%)
CIE-LABlab(50.81, 71.02, -39.08)
CIE-LCHlch(50.81, 81.06, 331.18°)
OKLaboklab(60.64% 0.204 -0.1074)
OKLCHoklch(60.64% 0.231 332.2)
XYZxyz(35.1802, 19.1059, 49.9692)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37BD #37CB45
analogous
#8F37CB #CB37BD #CB3773
triadic
#CB37BD #BDCB37 #37BDCB
tetradic
#CB37BD #CB8F37 #37CB45 #3773CB
square
#CB37BD #CB8F37 #37CB45 #3773CB
split-complementary
#CB37BD #73CB37 #37CB8F
monochromatic
#6C1C64 #9C2991 #CB37BD #D868CD #E498DD

Accessibility & contrast

On white

4.36
#CB37BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CB37BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37BD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37BD#FFFFFF#000000##000000
##CB37BD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6CC1
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#D44777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb37bd;
/* rgb */ color: rgb(203, 55, 189);
/* oklch */ color: oklch(60.6% 0.231 332.2);
Tailwind
colors: {
  custom: {
    50: '#df7cd1',
    500: '#cb37bd',
    950: '#000000',
  },
}
SCSS
$custom: #cb37bd;
$custom-light: #df7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37bd",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 305.676,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.23052,
    "h": 332.2
  },
  "luminance": 0.19103
}

Semantic roles & 50–950 ramp

primary
#CB37BD
secondary
#8ED094
accent
#E25546
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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