#AF35B5#AF35B5

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

Color values

HEX#AF35B5
RGBrgb(175, 53, 181)
HSLhsl(297, 55%, 46%)
HSVhsv(297, 71%, 71%)
CMYKcmyk(3.3%, 70.7%, 0%, 29%)
CIE-LABlab(45.63, 64.21, -42.90)
CIE-LCHlch(45.63, 77.22, 326.26°)
OKLaboklab(55.92% 0.1763 -0.1191)
OKLCHoklch(55.92% 0.213 325.9)
XYZxyz(27.2922, 14.9982, 45.1645)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B5 #3BB535
analogous
#6F35B5 #AF35B5 #B5357B
triadic
#AF35B5 #B5AF35 #35B5AF
tetradic
#AF35B5 #B56F35 #3BB535 #357BB5
square
#AF35B5 #B56F35 #3BB535 #357BB5
split-complementary
#AF35B5 #7BB535 #35B56F
monochromatic
#531956 #812786 #AF35B5 #C959CE #D888DC

Accessibility & contrast

On white

5.25
#AF35B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF35B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B5#FFFFFF#000000##FFFFFF
##AF35B51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B9
Deuteranopia (green-blind)
#5171B2
Tritanopia (blue-blind)
#B34A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b5;
/* rgb */ color: rgb(175, 53, 181);
/* oklch */ color: oklch(55.9% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#ca78cc',
    500: '#af35b5',
    950: '#000000',
  },
}
SCSS
$custom: #af35b5;
$custom-light: #ca78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b5",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 297.188,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.21276,
    "h": 325.9
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#AF35B5
secondary
#83C680
accent
#DE4A51
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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