#CB37C5#CB37C5

#CB37C5 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.236 H 329.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB37C5
RGBrgb(203, 55, 197)
HSLhsl(302, 59%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 72.9%, 3%, 20.4%)
CIE-LABlab(51.22, 72.25, -43.06)
CIE-LCHlch(51.22, 84.10, 329.21°)
OKLaboklab(61.07% 0.2042 -0.1189)
OKLCHoklch(61.07% 0.236 329.8)
XYZxyz(36.0726, 19.4629, 54.6693)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37C5 #37CB3D
analogous
#8737CB #CB37C5 #CB377B
triadic
#CB37C5 #C5CB37 #37C5CB
tetradic
#CB37C5 #CB8737 #37CB3D #377BCB
square
#CB37C5 #CB8737 #37CB3D #377BCB
split-complementary
#CB37C5 #7BCB37 #37CB87
monochromatic
#6C1C68 #9C2998 #CB37C5 #D868D3 #E498E1

Accessibility & contrast

On white

4.29
#CB37C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB37C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37C5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37C5#FFFFFF#000000##000000
##CB37C51.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#6381C1
Tritanopia (blue-blind)
#D24B7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb37c5;
/* rgb */ color: rgb(203, 55, 197);
/* oklch */ color: oklch(61.1% 0.236 329.8);
Tailwind
colors: {
  custom: {
    50: '#df7dd7',
    500: '#cb37c5',
    950: '#000000',
  },
}
SCSS
$custom: #cb37c5;
$custom-light: #df7dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37c5",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 302.432,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61072,
    "c": 0.23632,
    "h": 329.8
  },
  "luminance": 0.1946
}

Semantic roles & 50–950 ramp

primary
#CB37C5
secondary
#8ED091
accent
#E24C46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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