#CB37C1#CB37C1

#CB37C1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.233 H 331.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB37C1
RGBrgb(203, 55, 193)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 72.9%, 4.9%, 20.4%)
CIE-LABlab(51.02, 71.63, -41.07)
CIE-LCHlch(51.02, 82.57, 330.17°)
OKLaboklab(60.86% 0.2041 -0.1132)
OKLCHoklch(60.86% 0.233 331)
XYZxyz(35.6204, 19.2820, 52.2875)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37C1 #37CB41
analogous
#8B37CB #CB37C1 #CB3777
triadic
#CB37C1 #C1CB37 #37C1CB
tetradic
#CB37C1 #CB8B37 #37CB41 #3777CB
square
#CB37C1 #CB8B37 #37CB41 #3777CB
split-complementary
#CB37C1 #77CB37 #37CB8B
monochromatic
#6C1C66 #9C2994 #CB37C1 #D868D0 #E498DF

Accessibility & contrast

On white

4.32
#CB37C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB37C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37C1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37C1#FFFFFF#000000##000000
##CB37C11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#296CC5
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#D34979
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb37c1;
/* rgb */ color: rgb(203, 55, 193);
/* oklch */ color: oklch(60.9% 0.233 331.0);
Tailwind
colors: {
  custom: {
    50: '#df7cd4',
    500: '#cb37c1',
    950: '#000000',
  },
}
SCSS
$custom: #cb37c1;
$custom-light: #df7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37c1",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 304.054,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.23339,
    "h": 331
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#CB37C1
secondary
#8ED092
accent
#E25046
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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