#CB35B3#CB35B3

#CB35B3 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.226 H 335.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CB35B3
RGBrgb(203, 53, 179)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 73.9%, 11.8%, 20.4%)
CIE-LABlab(50.10, 70.17, -34.37)
CIE-LCHlch(50.10, 78.13, 333.90°)
OKLaboklab(59.97% 0.2052 -0.0939)
OKLCHoklch(59.97% 0.226 335.4)
XYZxyz(34.0389, 18.5004, 44.4173)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35B3 #35CB4D
analogous
#9835CB #CB35B3 #CB3568
triadic
#CB35B3 #B3CB35 #35B3CB
tetradic
#CB35B3 #CB9835 #35CB4D #3568CB
square
#CB35B3 #CB9835 #35CB4D #3568CB
split-complementary
#CB35B3 #68CB35 #35CB98
monochromatic
#6A1B5E #9B2889 #CB35B3 #D866C5 #E496D8

Accessibility & contrast

On white

4.47
#CB35B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CB35B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35B3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35B3#FFFFFF#000000##000000
##CB35B31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#D54171
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb35b3;
/* rgb */ color: rgb(203, 53, 179);
/* oklch */ color: oklch(60.0% 0.226 335.4);
Tailwind
colors: {
  custom: {
    50: '#df7bca',
    500: '#cb35b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb35b3;
$custom-light: #df7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35b3",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 309.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.22561,
    "h": 335.4
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#CB35B3
secondary
#8CCF97
accent
#E25F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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