#CB35CB#CB35CB

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

Color values

HEX#CB35CB
RGBrgb(203, 53, 203)
HSLhsl(300, 59%, 50%)
HSVhsv(300, 74%, 80%)
CMYKcmyk(0%, 73.9%, 0%, 20.4%)
CIE-LABlab(51.33, 73.80, -46.34)
CIE-LCHlch(51.33, 87.15, 327.87°)
OKLaboklab(61.25% 0.206 -0.1285)
OKLCHoklch(61.25% 0.243 328)
XYZxyz(36.6807, 19.5572, 58.3313)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35CB #35CB35
analogous
#8035CB #CB35CB #CB3580
triadic
#CB35CB #CBCB35 #35CBCB
tetradic
#CB35CB #CB8035 #35CB35 #3580CB
square
#CB35CB #CB8035 #35CB35 #3580CB
split-complementary
#CB35CB #80CB35 #35CB80
monochromatic
#6A1B6A #9B289B #CB35CB #D866D8 #E496E4

Accessibility & contrast

On white

4.28
#CB35CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB35CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35CB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35CB#FFFFFF#000000##000000
##CB35CB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#5F81C7
Tritanopia (blue-blind)
#D14D7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb35cb;
/* rgb */ color: rgb(203, 53, 203);
/* oklch */ color: oklch(61.3% 0.243 328.0);
Tailwind
colors: {
  custom: {
    50: '#df7cdb',
    500: '#cb35cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb35cb;
$custom-light: #df7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35cb",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.24273,
    "h": 328
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB35CB

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

Preview Lab → · Contrast checker → · Palette generator →

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