#CB35C7#CB35C7

#CB35C7 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.240 H 329.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CB35C7
RGBrgb(203, 53, 199)
HSLhsl(302, 59%, 50%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 73.9%, 2%, 20.4%)
CIE-LABlab(51.12, 73.17, -44.38)
CIE-LCHlch(51.12, 85.58, 328.76°)
OKLaboklab(61.03% 0.206 -0.1228)
OKLCHoklch(61.03% 0.24 329.2)
XYZxyz(36.2102, 19.3690, 55.8532)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35C7 #35CB39
analogous
#8435CB #CB35C7 #CB357C
triadic
#CB35C7 #C7CB35 #35C7CB
tetradic
#CB35C7 #CB8435 #35CB39 #357CCB
square
#CB35C7 #CB8435 #35CB39 #357CCB
split-complementary
#CB35C7 #7CCB35 #35CB84
monochromatic
#6A1B68 #9B2898 #CB35C7 #D866D4 #E496E2

Accessibility & contrast

On white

4.31
#CB35C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB35C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35C7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35C7#FFFFFF#000000##000000
##CB35C71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#6181C3
Tritanopia (blue-blind)
#D24B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb35c7;
/* rgb */ color: rgb(203, 53, 199);
/* oklch */ color: oklch(61.0% 0.240 329.2);
Tailwind
colors: {
  custom: {
    50: '#df7cd8',
    500: '#cb35c7',
    950: '#000000',
  },
}
SCSS
$custom: #cb35c7;
$custom-light: #df7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35c7",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 301.6,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.23979,
    "h": 329.2
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#CB35C7
secondary
#8CCF8E
accent
#E24A46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CB35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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