#AF35A6#AF35A6

#AF35A6 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.201 H 331.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF35A6
RGBrgb(175, 53, 166)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 69%)
CMYKcmyk(0%, 69.7%, 5.1%, 31.4%)
CIE-LABlab(44.82, 61.72, -35.31)
CIE-LCHlch(44.82, 71.11, 330.22°)
OKLaboklab(55.07% 0.1759 -0.0972)
OKLCHoklch(55.07% 0.201 331.1)
XYZxyz(25.8352, 14.4153, 37.4907)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A6 #35AF3E
analogous
#7B35AF #AF35A6 #AF3569
triadic
#AF35A6 #A6AF35 #35A6AF
tetradic
#AF35A6 #AF7B35 #35AF3E #3569AF
square
#AF35A6 #AF7B35 #35AF3E #3569AF
split-complementary
#AF35A6 #69AF35 #35AF7B
monochromatic
#51194D #802779 #AF35A6 #CC56C3 #DA85D4

Accessibility & contrast

On white

5.41
#AF35A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF35A6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A6#FFFFFF#000000##FFFFFF
##AF35A61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5FA9
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#B64369
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a6;
/* rgb */ color: rgb(175, 53, 166);
/* oklch */ color: oklch(55.1% 0.201 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca77c1',
    500: '#af35a6',
    950: '#000000',
  },
}
SCSS
$custom: #af35a6;
$custom-light: #ca77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a6",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 304.426,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55072,
    "c": 0.20096,
    "h": 331.1
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#AF35A6
secondary
#7CC482
accent
#DD564B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF35A6

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

Preview Lab → · Contrast checker → · Palette generator →

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