#CB35C6#CB35C6

#CB35C6 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.239 H 329.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB35C6
RGBrgb(203, 53, 198)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 73.9%, 2.5%, 20.4%)
CIE-LABlab(51.06, 73.02, -43.89)
CIE-LCHlch(51.06, 85.19, 328.99°)
OKLaboklab(60.97% 0.206 -0.1213)
OKLCHoklch(60.97% 0.239 329.5)
XYZxyz(36.0945, 19.3227, 55.2437)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35C6 #35CB3A
analogous
#8535CB #CB35C6 #CB357B
triadic
#CB35C6 #C6CB35 #35C6CB
tetradic
#CB35C6 #CB8535 #35CB3A #357BCB
square
#CB35C6 #CB8535 #35CB3A #357BCB
split-complementary
#CB35C6 #7BCB35 #35CB85
monochromatic
#6A1B68 #9B2897 #CB35C6 #D866D4 #E496E1

Accessibility & contrast

On white

4.32
#CB35C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB35C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35C6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35C6#FFFFFF#000000##000000
##CB35C61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCA
Deuteranopia (green-blind)
#6281C2
Tritanopia (blue-blind)
#D24B7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb35c6;
/* rgb */ color: rgb(203, 53, 198);
/* oklch */ color: oklch(61.0% 0.239 329.5);
Tailwind
colors: {
  custom: {
    50: '#df7cd8',
    500: '#cb35c6',
    950: '#000000',
  },
}
SCSS
$custom: #cb35c6;
$custom-light: #df7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35c6",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 302,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.23905,
    "h": 329.5
  },
  "luminance": 0.1932
}

Semantic roles & 50–950 ramp

primary
#CB35C6
secondary
#8CCF8F
accent
#E24B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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