#AF35A5#AF35A5

#AF35A5 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.200 H 331.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF35A5
RGBrgb(175, 53, 165)
HSLhsl(305, 54%, 45%)
HSVhsv(305, 70%, 69%)
CMYKcmyk(0%, 69.7%, 5.7%, 31.4%)
CIE-LABlab(44.77, 61.56, -34.80)
CIE-LCHlch(44.77, 70.71, 330.52°)
OKLaboklab(55.02% 0.1759 -0.0957)
OKLCHoklch(55.02% 0.2 331.4)
XYZxyz(25.7438, 14.3788, 37.0095)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A5 #35AF3F
analogous
#7C35AF #AF35A5 #AF3568
triadic
#AF35A5 #A5AF35 #35A5AF
tetradic
#AF35A5 #AF7C35 #35AF3F #3568AF
square
#AF35A5 #AF7C35 #35AF3F #3568AF
split-complementary
#AF35A5 #68AF35 #35AF7C
monochromatic
#51194C #802779 #AF35A5 #CC56C2 #DA85D3

Accessibility & contrast

On white

5.42
#AF35A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF35A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A5#FFFFFF#000000##FFFFFF
##AF35A51.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#5A70A2
Tritanopia (blue-blind)
#B64269
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a5;
/* rgb */ color: rgb(175, 53, 165);
/* oklch */ color: oklch(55.0% 0.200 331.4);
Tailwind
colors: {
  custom: {
    50: '#ca77c0',
    500: '#af35a5',
    950: '#000000',
  },
}
SCSS
$custom: #af35a5;
$custom-light: #ca77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a5",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 304.918,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.2002,
    "h": 331.4
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#AF35A5
secondary
#7CC482
accent
#DD574B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF35A5

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

Preview Lab → · Contrast checker → · Palette generator →

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