#AF35A4#AF35A4

#AF35A4 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 55.0% C 0.199 H 331.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF35A4
RGBrgb(175, 53, 164)
HSLhsl(305, 54%, 45%)
HSVhsv(305, 70%, 69%)
CMYKcmyk(0%, 69.7%, 6.3%, 31.4%)
CIE-LABlab(44.72, 61.40, -34.28)
CIE-LCHlch(44.72, 70.32, 330.82°)
OKLaboklab(54.97% 0.1758 -0.0942)
OKLCHoklch(54.97% 0.199 331.8)
XYZxyz(25.6532, 14.3425, 36.5320)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A4 #35AF40
analogous
#7D35AF #AF35A4 #AF3567
triadic
#AF35A4 #A4AF35 #35A4AF
tetradic
#AF35A4 #AF7D35 #35AF40 #3567AF
square
#AF35A4 #AF7D35 #35AF40 #3567AF
split-complementary
#AF35A4 #67AF35 #35AF7D
monochromatic
#51194C #802778 #AF35A4 #CC56C1 #DA85D2

Accessibility & contrast

On white

5.43
#AF35A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF35A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A4#FFFFFF#000000##FFFFFF
##AF35A41.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#B64268
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a4;
/* rgb */ color: rgb(175, 53, 164);
/* oklch */ color: oklch(55.0% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#ca77bf',
    500: '#af35a4',
    950: '#000000',
  },
}
SCSS
$custom: #af35a4;
$custom-light: #ca77bf;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a4",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 305.41,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.19944,
    "h": 331.8
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#AF35A4
secondary
#7CC483
accent
#DD584B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF35A4

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

Preview Lab → · Contrast checker → · Palette generator →

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