#AF35CE#AF35CE

#AF35CE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.233 H 318.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF35CE
RGBrgb(175, 53, 206)
HSLhsl(288, 61%, 51%)
HSVhsv(288, 74%, 81%)
CMYKcmyk(15%, 74.3%, 0%, 19.2%)
CIE-LABlab(47.13, 68.67, -55.04)
CIE-LCHlch(47.13, 88.01, 321.29°)
OKLaboklab(57.46% 0.1748 -0.1546)
OKLCHoklch(57.46% 0.233 318.5)
XYZxyz(30.0914, 16.1178, 59.9066)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35CE #54CE35
analogous
#6235CE #AF35CE #CE35A0
triadic
#AF35CE #CEAF35 #35CEAF
tetradic
#AF35CE #CE6235 #54CE35 #35A0CE
square
#AF35CE #CE6235 #54CE35 #35A0CE
split-complementary
#AF35CE #A0CE35 #35CE62
monochromatic
#5D1B6E #87279F #AF35CE #C366DA #D698E6

Accessibility & contrast

On white

4.97
#AF35CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF35CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35CE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35CE#FFFFFF#000000##FFFFFF
##AF35CE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#AE5580
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af35ce;
/* rgb */ color: rgb(175, 53, 206);
/* oklch */ color: oklch(57.5% 0.233 318.5);
Tailwind
colors: {
  custom: {
    50: '#cb79de',
    500: '#af35ce',
    950: '#000000',
  },
}
SCSS
$custom: #af35ce;
$custom-light: #cb79de;
$custom-dark: #000000;
JSON
{
  "hex": "#af35ce",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 287.843,
    "s": 60.956,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.23338,
    "h": 318.5
  },
  "luminance": 0.16116
}

Semantic roles & 50–950 ramp

primary
#AF35CE
secondary
#9BD18D
accent
#E44464
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF35CE

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

Preview Lab → · Contrast checker → · Palette generator →

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