#CB37BC#CB37BC

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

Color values

HEX#CB37BC
RGBrgb(203, 55, 188)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 72.9%, 7.4%, 20.4%)
CIE-LABlab(50.76, 70.87, -38.58)
CIE-LCHlch(50.76, 80.69, 331.44°)
OKLaboklab(60.59% 0.2039 -0.106)
OKLCHoklch(60.59% 0.23 332.5)
XYZxyz(35.0720, 19.0626, 49.3995)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37BC #37CB46
analogous
#9037CB #CB37BC #CB3772
triadic
#CB37BC #BCCB37 #37BCCB
tetradic
#CB37BC #CB9037 #37CB46 #3772CB
square
#CB37BC #CB9037 #37CB46 #3772CB
split-complementary
#CB37BC #72CB37 #37CB90
monochromatic
#6C1C64 #9C2990 #CB37BC #D868CC #E498DD

Accessibility & contrast

On white

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

On black

4.81
#CB37BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37BC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37BC#FFFFFF#000000##000000
##CB37BC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BC0
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#D44776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb37bc;
/* rgb */ color: rgb(203, 55, 188);
/* oklch */ color: oklch(60.6% 0.230 332.5);
Tailwind
colors: {
  custom: {
    50: '#df7cd0',
    500: '#cb37bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb37bc;
$custom-light: #df7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37bc",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 306.081,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.22981,
    "h": 332.5
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#CB37BC
secondary
#8ED095
accent
#E25646
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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