#AF35AA#AF35AA

#AF35AA is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.204 H 329.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF35AA
RGBrgb(175, 53, 170)
HSLhsl(302, 54%, 45%)
HSVhsv(302, 70%, 69%)
CMYKcmyk(0%, 69.7%, 2.9%, 31.4%)
CIE-LABlab(45.03, 62.37, -37.36)
CIE-LCHlch(45.03, 72.70, 329.08°)
OKLaboklab(55.29% 0.1761 -0.1031)
OKLCHoklch(55.29% 0.204 329.7)
XYZxyz(26.2078, 14.5644, 39.4533)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35AA #35AF3A
analogous
#7735AF #AF35AA #AF356D
triadic
#AF35AA #AAAF35 #35AAAF
tetradic
#AF35AA #AF7735 #35AF3A #356DAF
square
#AF35AA #AF7735 #35AF3A #356DAF
split-complementary
#AF35AA #6DAF35 #35AF77
monochromatic
#51194F #80277C #AF35AA #CC56C7 #DA85D6

Accessibility & contrast

On white

5.37
#AF35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF35AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35AA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35AA#FFFFFF#000000##FFFFFF
##AF35AA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#5870A7
Tritanopia (blue-blind)
#B5456C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35aa;
/* rgb */ color: rgb(175, 53, 170);
/* oklch */ color: oklch(55.3% 0.204 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca77c4',
    500: '#af35aa',
    950: '#000000',
  },
}
SCSS
$custom: #af35aa;
$custom-light: #ca77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#af35aa",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 302.459,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.20406,
    "h": 329.7
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#AF35AA
secondary
#7CC47F
accent
#DD514B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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