#AF35AC#AF35AC

#AF35AC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.206 H 329.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF35AC
RGBrgb(175, 53, 172)
HSLhsl(301, 54%, 45%)
HSVhsv(301, 70%, 69%)
CMYKcmyk(0%, 69.7%, 1.7%, 31.4%)
CIE-LABlab(45.14, 62.70, -38.37)
CIE-LCHlch(45.14, 73.51, 328.53°)
OKLaboklab(55.4% 0.1762 -0.106)
OKLCHoklch(55.4% 0.206 329)
XYZxyz(26.3984, 14.6406, 40.4573)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35AC #35AF38
analogous
#7535AF #AF35AC #AF356F
triadic
#AF35AC #ACAF35 #35ACAF
tetradic
#AF35AC #AF7535 #35AF38 #356FAF
square
#AF35AC #AF7535 #35AF38 #356FAF
split-complementary
#AF35AC #6FAF35 #35AF75
monochromatic
#511950 #80277E #AF35AC #CC56C9 #DA85D8

Accessibility & contrast

On white

5.35
#AF35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35AC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35AC#FFFFFF#000000##FFFFFF
##AF35AC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#5670A9
Tritanopia (blue-blind)
#B5466D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35ac;
/* rgb */ color: rgb(175, 53, 172);
/* oklch */ color: oklch(55.4% 0.206 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca77c5',
    500: '#af35ac',
    950: '#000000',
  },
}
SCSS
$custom: #af35ac;
$custom-light: #ca77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#af35ac",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 301.475,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.20562,
    "h": 329
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#AF35AC
secondary
#7CC47E
accent
#DD4E4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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