#AF35C6#AF35C6

#AF35C6 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.227 H 320.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF35C6
RGBrgb(175, 53, 198)
HSLhsl(290, 58%, 49%)
HSVhsv(290, 73%, 78%)
CMYKcmyk(11.6%, 73.2%, 0%, 22.4%)
CIE-LABlab(46.63, 67.21, -51.22)
CIE-LCHlch(46.63, 84.50, 322.69°)
OKLaboklab(56.95% 0.1755 -0.1434)
OKLCHoklch(56.95% 0.227 320.7)
XYZxyz(29.1441, 15.7389, 54.9179)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35C6 #4CC635
analogous
#6735C6 #AF35C6 #C63595
triadic
#AF35C6 #C6AF35 #35C6AF
tetradic
#AF35C6 #C66735 #4CC635 #3595C6
square
#AF35C6 #C66735 #4CC635 #3595C6
split-complementary
#AF35C6 #95C635 #35C667
monochromatic
#5A1B65 #842896 #AF35C6 #C363D5 #D693E2

Accessibility & contrast

On white

5.06
#AF35C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF35C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35C6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35C6#FFFFFF#000000##FFFFFF
##AF35C61.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#4573C3
Tritanopia (blue-blind)
#B0517B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af35c6;
/* rgb */ color: rgb(175, 53, 198);
/* oklch */ color: oklch(56.9% 0.227 320.7);
Tailwind
colors: {
  custom: {
    50: '#cb78d8',
    500: '#af35c6',
    950: '#000000',
  },
}
SCSS
$custom: #af35c6;
$custom-light: #cb78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#af35c6",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 290.483,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.22669,
    "h": 320.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#AF35C6
secondary
#94CD8A
accent
#E1475F
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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