#AF35AE#AF35AE

#AF35AE is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.207 H 328.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF35AE
RGBrgb(175, 53, 174)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 69%)
CMYKcmyk(0%, 69.7%, 0.6%, 31.4%)
CIE-LABlab(45.25, 63.03, -39.38)
CIE-LCHlch(45.25, 74.32, 328.00°)
OKLaboklab(55.51% 0.1762 -0.1089)
OKLCHoklch(55.51% 0.207 328.3)
XYZxyz(26.5920, 14.7181, 41.4765)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35AE #35AF36
analogous
#7335AF #AF35AE #AF3571
triadic
#AF35AE #AEAF35 #35AEAF
tetradic
#AF35AE #AF7335 #35AF36 #3571AF
square
#AF35AE #AF7335 #35AF36 #3571AF
split-complementary
#AF35AE #71AF35 #35AF73
monochromatic
#511951 #80277F #AF35AE #CC56CB #DA85D9

Accessibility & contrast

On white

5.33
#AF35AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF35AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35AE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35AE#FFFFFF#000000##FFFFFF
##AF35AE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#B5466E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af35ae;
/* rgb */ color: rgb(175, 53, 174);
/* oklch */ color: oklch(55.5% 0.207 328.3);
Tailwind
colors: {
  custom: {
    50: '#ca77c6',
    500: '#af35ae',
    950: '#000000',
  },
}
SCSS
$custom: #af35ae;
$custom-light: #ca77c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af35ae",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 300.492,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.20719,
    "h": 328.3
  },
  "luminance": 0.14716
}

Semantic roles & 50–950 ramp

primary
#AF35AE
secondary
#7CC47D
accent
#DD4C4B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35AE

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

Preview Lab → · Contrast checker → · Palette generator →

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