#CB37D8#CB37D8

#CB37D8 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.2% C 0.251 H 324.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB37D8
RGBrgb(203, 55, 216)
HSLhsl(295, 67%, 53%)
HSVhsv(295, 75%, 85%)
CMYKcmyk(6%, 74.5%, 0%, 15.3%)
CIE-LABlab(52.27, 75.31, -52.28)
CIE-LCHlch(52.27, 91.68, 325.23°)
OKLaboklab(62.16% 0.2038 -0.1458)
OKLCHoklch(62.16% 0.251 324.4)
XYZxyz(38.3884, 20.3892, 66.8660)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB37D8 #44D837
analogous
#7A37D8 #CB37D8 #D83795
triadic
#CB37D8 #D8CB37 #37D8CB
tetradic
#CB37D8 #D87A37 #44D837 #3795D8
square
#CB37D8 #D87A37 #44D837 #3795D8
split-complementary
#CB37D8 #95D837 #37D87A
monochromatic
#74187C #A422B0 #CB37D8 #D86AE2 #E69DEC

Accessibility & contrast

On white

4.14
#CB37D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB37D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB37D8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB37D8#FFFFFF#000000##000000
##CB37D81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#5783D4
Tritanopia (blue-blind)
#CF5586
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb37d8;
/* rgb */ color: rgb(203, 55, 216);
/* oklch */ color: oklch(62.2% 0.251 324.4);
Tailwind
colors: {
  custom: {
    50: '#df7de5',
    500: '#cb37d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb37d8;
$custom-light: #df7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb37d8",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 216
  },
  "hsl": {
    "h": 295.155,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6216,
    "c": 0.25058,
    "h": 324.4
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#CB37D8
secondary
#98D893
accent
#EA3E4B
background
#FEF8FE
surface
#FCEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CB37D8

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

Preview Lab → · Contrast checker → · Palette generator →

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