#AF35A9#AF35A9

#AF35A9 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.203 H 330.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF35A9
RGBrgb(175, 53, 169)
HSLhsl(303, 54%, 45%)
HSVhsv(303, 70%, 69%)
CMYKcmyk(0%, 69.7%, 3.4%, 31.4%)
CIE-LABlab(44.98, 62.21, -36.85)
CIE-LCHlch(44.98, 72.30, 329.36°)
OKLaboklab(55.24% 0.1761 -0.1016)
OKLCHoklch(55.24% 0.203 330)
XYZxyz(26.1136, 14.5267, 38.9570)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A9 #35AF3B
analogous
#7835AF #AF35A9 #AF356C
triadic
#AF35A9 #A9AF35 #35A9AF
tetradic
#AF35A9 #AF7835 #35AF3B #356CAF
square
#AF35A9 #AF7835 #35AF3B #356CAF
split-complementary
#AF35A9 #6CAF35 #35AF78
monochromatic
#51194E #80277C #AF35A9 #CC56C6 #DA85D6

Accessibility & contrast

On white

5.38
#AF35A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF35A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A9#FFFFFF#000000##FFFFFF
##AF35A91.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AC
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#B5446B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a9;
/* rgb */ color: rgb(175, 53, 169);
/* oklch */ color: oklch(55.2% 0.203 330.0);
Tailwind
colors: {
  custom: {
    50: '#ca77c3',
    500: '#af35a9',
    950: '#000000',
  },
}
SCSS
$custom: #af35a9;
$custom-light: #ca77c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a9",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 302.951,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55235,
    "c": 0.20327,
    "h": 330
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#AF35A9
secondary
#7CC480
accent
#DD524B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF35A9

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

Preview Lab → · Contrast checker → · Palette generator →

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