#CB35B7#CB35B7

#CB35B7 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.2% C 0.228 H 334.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB35B7
RGBrgb(203, 53, 183)
HSLhsl(308, 59%, 50%)
HSVhsv(308, 74%, 80%)
CMYKcmyk(0%, 73.9%, 9.9%, 20.4%)
CIE-LABlab(50.29, 70.75, -36.40)
CIE-LCHlch(50.29, 79.56, 332.77°)
OKLaboklab(60.17% 0.2055 -0.0997)
OKLCHoklch(60.17% 0.228 334.1)
XYZxyz(34.4493, 18.6646, 46.5789)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35B7 #35CB49
analogous
#9435CB #CB35B7 #CB356C
triadic
#CB35B7 #B7CB35 #35B7CB
tetradic
#CB35B7 #CB9435 #35CB49 #356CCB
square
#CB35B7 #CB9435 #35CB49 #356CCB
split-complementary
#CB35B7 #6CCB35 #35CB94
monochromatic
#6A1B60 #9B288C #CB35B7 #D866C8 #E496DA

Accessibility & contrast

On white

4.44
#CB35B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB35B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35B7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35B7#FFFFFF#000000##000000
##CB35B71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#326ABB
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#D54373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb35b7;
/* rgb */ color: rgb(203, 53, 183);
/* oklch */ color: oklch(60.2% 0.228 334.1);
Tailwind
colors: {
  custom: {
    50: '#df7bcd',
    500: '#cb35b7',
    950: '#000000',
  },
}
SCSS
$custom: #cb35b7;
$custom-light: #df7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35b7",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 308,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60172,
    "c": 0.22836,
    "h": 334.1
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

primary
#CB35B7
secondary
#8CCF95
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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