#CB36B7#CB36B7

#CB36B7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.227 H 334.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB36B7
RGBrgb(203, 54, 183)
HSLhsl(308, 59%, 50%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73.4%, 9.9%, 20.4%)
CIE-LABlab(50.40, 70.44, -36.23)
CIE-LCHlch(50.40, 79.21, 332.78°)
OKLaboklab(60.25% 0.2045 -0.0992)
OKLCHoklch(60.25% 0.227 334.1)
XYZxyz(34.4953, 18.7567, 46.5942)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB36B7 #36CB4A
analogous
#9536CB #CB36B7 #CB366C
triadic
#CB36B7 #B7CB36 #36B7CB
tetradic
#CB36B7 #CB9536 #36CB4A #366CCB
square
#CB36B7 #CB9536 #36CB4A #366CCB
split-complementary
#CB36B7 #6CCB36 #36CB95
monochromatic
#6B1C60 #9C288C #CB36B7 #D867C8 #E497DA

Accessibility & contrast

On white

4.42
#CB36B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CB36B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB36B7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB36B7#FFFFFF#000000##000000
##CB36B71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#336ABB
Deuteranopia (green-blind)
#6A80B3
Tritanopia (blue-blind)
#D54473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb36b7;
/* rgb */ color: rgb(203, 54, 183);
/* oklch */ color: oklch(60.3% 0.227 334.1);
Tailwind
colors: {
  custom: {
    50: '#df7ccd',
    500: '#cb36b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb36b7;
$custom-light: #df7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb36b7",
  "rgb": {
    "r": 203,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 308.054,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.22733,
    "h": 334.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#CB36B7
secondary
#8DD096
accent
#E25B46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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