#AF35AD#AF35AD

#AF35AD is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.206 H 328.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF35AD
RGBrgb(175, 53, 173)
HSLhsl(301, 54%, 45%)
HSVhsv(301, 70%, 69%)
CMYKcmyk(0%, 69.7%, 1.1%, 31.4%)
CIE-LABlab(45.19, 62.86, -38.88)
CIE-LCHlch(45.19, 73.92, 328.26°)
OKLaboklab(55.46% 0.1762 -0.1075)
OKLCHoklch(55.46% 0.206 328.6)
XYZxyz(26.4948, 14.6792, 40.9650)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35AD #35AF37
analogous
#7435AF #AF35AD #AF3570
triadic
#AF35AD #ADAF35 #35ADAF
tetradic
#AF35AD #AF7435 #35AF37 #3570AF
square
#AF35AD #AF7435 #35AF37 #3570AF
split-complementary
#AF35AD #70AF35 #35AF74
monochromatic
#511950 #80277F #AF35AD #CC56CA #DA85D8

Accessibility & contrast

On white

5.34
#AF35AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF35AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35AD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35AD#FFFFFF#000000##FFFFFF
##AF35AD1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B0
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#B5466D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35ad;
/* rgb */ color: rgb(175, 53, 173);
/* oklch */ color: oklch(55.5% 0.206 328.6);
Tailwind
colors: {
  custom: {
    50: '#ca77c6',
    500: '#af35ad',
    950: '#000000',
  },
}
SCSS
$custom: #af35ad;
$custom-light: #ca77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af35ad",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 300.984,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.2064,
    "h": 328.6
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#AF35AD
secondary
#7CC47D
accent
#DD4D4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35AD

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

Preview Lab → · Contrast checker → · Palette generator →

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