#CB37B7#CB37B7

#CB37B7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.226 H 334.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB37B7
RGBrgb(203, 55, 183)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 72.9%, 9.9%, 20.4%)
CIE-LABlab(50.51, 70.12, -36.05)
CIE-LCHlch(50.51, 78.85, 332.79°)
OKLaboklab(60.33% 0.2036 -0.0987)
OKLCHoklch(60.33% 0.226 334.1)
XYZxyz(34.5424, 18.8508, 46.6099)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37B7 #37CB4B
analogous
#9537CB #CB37B7 #CB376D
triadic
#CB37B7 #B7CB37 #37B7CB
tetradic
#CB37B7 #CB9537 #37CB4B #376DCB
square
#CB37B7 #CB9537 #37CB4B #376DCB
split-complementary
#CB37B7 #6DCB37 #37CB95
monochromatic
#6C1C61 #9C298D #CB37B7 #D868C8 #E498DA

Accessibility & contrast

On white

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

On black

4.77
#CB37B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37B7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37B7#FFFFFF#000000##000000
##CB37B71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#346ABB
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#D54474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb37b7;
/* rgb */ color: rgb(203, 55, 183);
/* oklch */ color: oklch(60.3% 0.226 334.1);
Tailwind
colors: {
  custom: {
    50: '#df7ccd',
    500: '#cb37b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb37b7;
$custom-light: #df7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37b7",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 308.108,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.22628,
    "h": 334.1
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#CB37B7
secondary
#8ED097
accent
#E25B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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