#CB36CB#CB36CB

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

Color values

HEX#CB36CB
RGBrgb(203, 54, 203)
HSLhsl(300, 59%, 50%)
HSVhsv(300, 73%, 80%)
CMYKcmyk(0%, 73.4%, 0%, 20.4%)
CIE-LABlab(51.44, 73.50, -46.18)
CIE-LCHlch(51.44, 86.80, 327.86°)
OKLaboklab(61.33% 0.2051 -0.128)
OKLCHoklch(61.33% 0.242 328)
XYZxyz(36.7268, 19.6493, 58.3466)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB36CB #36CB36
analogous
#8036CB #CB36CB #CB3680
triadic
#CB36CB #CBCB36 #36CBCB
tetradic
#CB36CB #CB8036 #36CB36 #3680CB
square
#CB36CB #CB8036 #36CB36 #3680CB
split-complementary
#CB36CB #80CB36 #36CB80
monochromatic
#6B1C6B #9C289C #CB36CB #D867D8 #E497E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB36CB#FFFFFF#000000##000000
##CB36CB1.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)
#156ECF
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#D14E7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb36cb;
/* rgb */ color: rgb(203, 54, 203);
/* oklch */ color: oklch(61.3% 0.242 328.0);
Tailwind
colors: {
  custom: {
    50: '#df7cdb',
    500: '#cb36cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb36cb;
$custom-light: #df7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb36cb",
  "rgb": {
    "r": 203,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.24175,
    "h": 328
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#CB36CB
secondary
#8DD08D
accent
#E24646
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CB36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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