#CB37C2#CB37C2

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

Color values

HEX#CB37C2
RGBrgb(203, 55, 194)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 72.9%, 4.4%, 20.4%)
CIE-LABlab(51.07, 71.78, -41.57)
CIE-LCHlch(51.07, 82.95, 329.92°)
OKLaboklab(60.91% 0.2041 -0.1146)
OKLCHoklch(60.91% 0.234 330.7)
XYZxyz(35.7323, 19.3268, 52.8769)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37C2 #37CB40
analogous
#8A37CB #CB37C2 #CB3778
triadic
#CB37C2 #C2CB37 #37C2CB
tetradic
#CB37C2 #CB8A37 #37CB40 #3778CB
square
#CB37C2 #CB8A37 #37CB40 #3778CB
split-complementary
#CB37C2 #78CB37 #37CB8A
monochromatic
#6C1C67 #9C2995 #CB37C2 #D868D1 #E498E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB37C2#FFFFFF#000000##000000
##CB37C21.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)
#276DC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D34A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb37c2;
/* rgb */ color: rgb(203, 55, 194);
/* oklch */ color: oklch(60.9% 0.234 330.7);
Tailwind
colors: {
  custom: {
    50: '#df7dd5',
    500: '#cb37c2',
    950: '#000000',
  },
}
SCSS
$custom: #cb37c2;
$custom-light: #df7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37c2",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 303.649,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.23412,
    "h": 330.7
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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