#CF35C8#CF35C8

#CF35C8 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.242 H 330.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF35C8
RGBrgb(207, 53, 200)
HSLhsl(303, 62%, 51%)
HSVhsv(303, 74%, 81%)
CMYKcmyk(0%, 74.4%, 3.4%, 18.8%)
CIE-LABlab(51.82, 74.17, -43.80)
CIE-LCHlch(51.82, 86.13, 329.43°)
OKLaboklab(61.67% 0.2101 -0.121)
OKLCHoklch(61.67% 0.242 330.1)
XYZxyz(37.4304, 19.9847, 56.5184)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF35C8 #35CF3C
analogous
#8935CF #CF35C8 #CF357B
triadic
#CF35C8 #C8CF35 #35C8CF
tetradic
#CF35C8 #CF8935 #35CF3C #357BCF
square
#CF35C8 #CF8935 #35CF3C #357BCF
split-complementary
#CF35C8 #7BCF35 #35CF89
monochromatic
#6F1A6B #A1269B #CF35C8 #DB66D5 #E798E3

Accessibility & contrast

On white

4.20
#CF35C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF35C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF35C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF35C8#FFFFFF#000000##000000
##CF35C81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#206ECC
Deuteranopia (green-blind)
#6483C4
Tritanopia (blue-blind)
#D74B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf35c8;
/* rgb */ color: rgb(207, 53, 200);
/* oklch */ color: oklch(61.7% 0.242 330.1);
Tailwind
colors: {
  custom: {
    50: '#e27cd9',
    500: '#cf35c8',
    950: '#000000',
  },
}
SCSS
$custom: #cf35c8;
$custom-light: #e27cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf35c8",
  "rgb": {
    "r": 207,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 302.727,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.2424,
    "h": 330.1
  },
  "luminance": 0.19982
}

Semantic roles & 50–950 ramp

primary
#CF35C8
secondary
#8ED291
accent
#E54A43
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CF35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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