#CB37B5#CB37B5

#CB37B5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.225 H 334.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB37B5
RGBrgb(203, 55, 181)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 72.9%, 10.8%, 20.4%)
CIE-LABlab(50.41, 69.83, -35.04)
CIE-LCHlch(50.41, 78.13, 333.35°)
OKLaboklab(60.23% 0.2035 -0.0958)
OKLCHoklch(60.23% 0.225 334.8)
XYZxyz(34.3357, 18.7681, 45.5214)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B5 #37CB4D
analogous
#9737CB #CB37B5 #CB376B
triadic
#CB37B5 #B5CB37 #37B5CB
tetradic
#CB37B5 #CB9737 #37CB4D #376BCB
square
#CB37B5 #CB9737 #37CB4D #376BCB
split-complementary
#CB37B5 #6BCB37 #37CB97
monochromatic
#6C1C60 #9C298B #CB37B5 #D868C7 #E498D9

Accessibility & contrast

On white

4.42
#CB37B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB37B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B5#FFFFFF#000000##000000
##CB37B51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#D54372
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b5;
/* rgb */ color: rgb(203, 55, 181);
/* oklch */ color: oklch(60.2% 0.225 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7ccb',
    500: '#cb37b5',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b5;
$custom-light: #df7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b5",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 308.919,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.22489,
    "h": 334.8
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#CB37B5
secondary
#8ED098
accent
#E25D46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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