#AF35B4#AF35B4

#AF35B4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.212 H 326.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF35B4
RGBrgb(175, 53, 180)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 71%)
CMYKcmyk(2.8%, 70.6%, 0%, 29.4%)
CIE-LABlab(45.58, 64.04, -42.40)
CIE-LCHlch(45.58, 76.80, 326.49°)
OKLaboklab(55.86% 0.1763 -0.1177)
OKLCHoklch(55.86% 0.212 326.3)
XYZxyz(27.1900, 14.9573, 44.6261)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B4 #3AB435
analogous
#6F35B4 #AF35B4 #B43579
triadic
#AF35B4 #B4AF35 #35B4AF
tetradic
#AF35B4 #B46F35 #3AB435 #3579B4
square
#AF35B4 #B46F35 #3AB435 #3579B4
split-complementary
#AF35B4 #79B435 #35B46F
monochromatic
#531955 #812785 #AF35B4 #C958CE #D988DC

Accessibility & contrast

On white

5.26
#AF35B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF35B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B4#FFFFFF#000000##FFFFFF
##AF35B41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1862B8
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#B44971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b4;
/* rgb */ color: rgb(175, 53, 180);
/* oklch */ color: oklch(55.9% 0.212 326.3);
Tailwind
colors: {
  custom: {
    50: '#ca78cb',
    500: '#af35b4',
    950: '#000000',
  },
}
SCSS
$custom: #af35b4;
$custom-light: #ca78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b4",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 297.638,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55857,
    "c": 0.21196,
    "h": 326.3
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#AF35B4
secondary
#82C67F
accent
#DE4A50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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