#AF35D0#AF35D0

#AF35D0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.235 H 318.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF35D0
RGBrgb(175, 53, 208)
HSLhsl(287, 62%, 51%)
HSVhsv(287, 75%, 82%)
CMYKcmyk(15.9%, 74.5%, 0%, 18.4%)
CIE-LABlab(47.26, 69.04, -55.99)
CIE-LCHlch(47.26, 88.89, 320.96°)
OKLaboklab(57.59% 0.1746 -0.1574)
OKLCHoklch(57.59% 0.235 318)
XYZxyz(30.3359, 16.2156, 61.1943)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35D0 #56D035
analogous
#6135D0 #AF35D0 #D035A3
triadic
#AF35D0 #D0AF35 #35D0AF
tetradic
#AF35D0 #D06135 #56D035 #35A3D0
square
#AF35D0 #D06135 #56D035 #35A3D0
split-complementary
#AF35D0 #A3D035 #35D061
monochromatic
#5E1A70 #8826A2 #AF35D0 #C367DC #D698E7

Accessibility & contrast

On white

4.95
#AF35D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF35D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35D0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35D0#FFFFFF#000000##FFFFFF
##AF35D01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#AE5681
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af35d0;
/* rgb */ color: rgb(175, 53, 208);
/* oklch */ color: oklch(57.6% 0.235 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb79df',
    500: '#af35d0',
    950: '#000000',
  },
}
SCSS
$custom: #af35d0;
$custom-light: #cb79df;
$custom-dark: #000000;
JSON
{
  "hex": "#af35d0",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 287.226,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57593,
    "c": 0.23505,
    "h": 318
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#AF35D0
secondary
#9DD38E
accent
#E54265
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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