#CB35B5#CB35B5

#CB35B5 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.1% C 0.227 H 334.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB35B5
RGBrgb(203, 53, 181)
HSLhsl(309, 59%, 50%)
HSVhsv(309, 74%, 80%)
CMYKcmyk(0%, 73.9%, 10.8%, 20.4%)
CIE-LABlab(50.19, 70.46, -35.39)
CIE-LCHlch(50.19, 78.84, 333.33°)
OKLaboklab(60.07% 0.2053 -0.0968)
OKLCHoklch(60.07% 0.227 334.8)
XYZxyz(34.2426, 18.5819, 45.4903)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35B5 #35CB4B
analogous
#9635CB #CB35B5 #CB356A
triadic
#CB35B5 #B5CB35 #35B5CB
tetradic
#CB35B5 #CB9635 #35CB4B #356ACB
square
#CB35B5 #CB9635 #35CB4B #356ACB
split-complementary
#CB35B5 #6ACB35 #35CB96
monochromatic
#6A1B5F #9B288A #CB35B5 #D866C7 #E496D9

Accessibility & contrast

On white

4.45
#CB35B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB35B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35B5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35B5#FFFFFF#000000##000000
##CB35B51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#D54272
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb35b5;
/* rgb */ color: rgb(203, 53, 181);
/* oklch */ color: oklch(60.1% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7bcb',
    500: '#cb35b5',
    950: '#000000',
  },
}
SCSS
$custom: #cb35b5;
$custom-light: #df7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35b5",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 308.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.22699,
    "h": 334.8
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#CB35B5
secondary
#8CCF96
accent
#E25D46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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