#CB36B3#CB36B3

#CB36B3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.225 H 335.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB36B3
RGBrgb(203, 54, 179)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 73.4%, 11.8%, 20.4%)
CIE-LABlab(50.21, 69.86, -34.20)
CIE-LCHlch(50.21, 77.78, 333.92°)
OKLaboklab(60.05% 0.2042 -0.0934)
OKLCHoklch(60.05% 0.225 335.4)
XYZxyz(34.0849, 18.5926, 44.4327)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB36B3 #36CB4E
analogous
#9836CB #CB36B3 #CB3669
triadic
#CB36B3 #B3CB36 #36B3CB
tetradic
#CB36B3 #CB9836 #36CB4E #3669CB
square
#CB36B3 #CB9836 #36CB4E #3669CB
split-complementary
#CB36B3 #69CB36 #36CB98
monochromatic
#6B1C5E #9C2889 #CB36B3 #D867C5 #E497D8

Accessibility & contrast

On white

4.45
#CB36B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB36B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB36B3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB36B3#FFFFFF#000000##000000
##CB36B31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#D54271
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb36b3;
/* rgb */ color: rgb(203, 54, 179);
/* oklch */ color: oklch(60.0% 0.225 335.4);
Tailwind
colors: {
  custom: {
    50: '#df7cca',
    500: '#cb36b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb36b3;
$custom-light: #df7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb36b3",
  "rgb": {
    "r": 203,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 309.664,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.22457,
    "h": 335.4
  },
  "luminance": 0.1859
}

Semantic roles & 50–950 ramp

primary
#CB36B3
secondary
#8DD098
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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