#CB37C9#CB37C9

#CB37C9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.239 H 328.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CB37C9
RGBrgb(203, 55, 201)
HSLhsl(301, 59%, 51%)
HSVhsv(301, 73%, 80%)
CMYKcmyk(0%, 72.9%, 1%, 20.4%)
CIE-LABlab(51.44, 72.87, -45.03)
CIE-LCHlch(51.44, 85.66, 328.29°)
OKLaboklab(61.29% 0.2042 -0.1246)
OKLCHoklch(61.29% 0.239 328.6)
XYZxyz(36.5370, 19.6486, 57.1152)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37C9 #37CB39
analogous
#8337CB #CB37C9 #CB377F
triadic
#CB37C9 #C9CB37 #37C9CB
tetradic
#CB37C9 #CB8337 #37CB39 #377FCB
square
#CB37C9 #CB8337 #37CB39 #377FCB
split-complementary
#CB37C9 #7FCB37 #37CB83
monochromatic
#6C1C6B #9C299B #CB37C9 #D868D6 #E498E3

Accessibility & contrast

On white

4.26
#CB37C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB37C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37C9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37C9#FFFFFF#000000##000000
##CB37C91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6ECD
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#D24D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb37c9;
/* rgb */ color: rgb(203, 55, 201);
/* oklch */ color: oklch(61.3% 0.239 328.6);
Tailwind
colors: {
  custom: {
    50: '#df7dda',
    500: '#cb37c9',
    950: '#000000',
  },
}
SCSS
$custom: #cb37c9;
$custom-light: #df7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37c9",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 300.811,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61294,
    "c": 0.23926,
    "h": 328.6
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#CB37C9
secondary
#8ED08F
accent
#E24846
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB37C9

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

Preview Lab → · Contrast checker → · Palette generator →

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