#CB36BA#CB36BA

#CB36BA is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.229 H 333.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB36BA
RGBrgb(203, 54, 186)
HSLhsl(307, 59%, 50%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 73.4%, 8.4%, 20.4%)
CIE-LABlab(50.55, 70.88, -37.74)
CIE-LCHlch(50.55, 80.30, 331.97°)
OKLaboklab(60.41% 0.2047 -0.1036)
OKLCHoklch(60.41% 0.229 333.2)
XYZxyz(34.8109, 18.8830, 48.2562)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB36BA #36CB47
analogous
#9236CB #CB36BA #CB366F
triadic
#CB36BA #BACB36 #36BACB
tetradic
#CB36BA #CB9236 #36CB47 #366FCB
square
#CB36BA #CB9236 #36CB47 #366FCB
split-complementary
#CB36BA #6FCB36 #36CB92
monochromatic
#6B1C62 #9C288E #CB36BA #D867CB #E497DB

Accessibility & contrast

On white

4.40
#CB36BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB36BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB36BA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB36BA#FFFFFF#000000##000000
##CB36BA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#D44575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb36ba;
/* rgb */ color: rgb(203, 54, 186);
/* oklch */ color: oklch(60.4% 0.229 333.2);
Tailwind
colors: {
  custom: {
    50: '#df7ccf',
    500: '#cb36ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb36ba;
$custom-light: #df7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb36ba",
  "rgb": {
    "r": 203,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 306.846,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.22943,
    "h": 333.2
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#CB36BA
secondary
#8DD095
accent
#E25846
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CB36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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