#AF35B6#AF35B6

#AF35B6 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.214 H 325.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF35B6
RGBrgb(175, 53, 182)
HSLhsl(297, 55%, 46%)
HSVhsv(297, 71%, 71%)
CMYKcmyk(3.8%, 70.9%, 0%, 28.6%)
CIE-LABlab(45.69, 64.38, -43.39)
CIE-LCHlch(45.69, 77.64, 326.02°)
OKLaboklab(55.97% 0.1763 -0.1206)
OKLCHoklch(55.97% 0.214 325.6)
XYZxyz(27.3952, 15.0394, 45.7069)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B6 #3CB635
analogous
#6E35B6 #AF35B6 #B6357C
triadic
#AF35B6 #B6AF35 #35B6AF
tetradic
#AF35B6 #B66E35 #3CB635 #357CB6
square
#AF35B6 #B66E35 #3CB635 #357CB6
split-complementary
#AF35B6 #7CB635 #35B66E
monochromatic
#541957 #812787 #AF35B6 #C859CF #D889DD

Accessibility & contrast

On white

5.24
#AF35B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF35B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B6
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B6#FFFFFF#000000##FFFFFF
##AF35B61.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#5171B3
Tritanopia (blue-blind)
#B34A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b6;
/* rgb */ color: rgb(175, 53, 182);
/* oklch */ color: oklch(56.0% 0.214 325.6);
Tailwind
colors: {
  custom: {
    50: '#cb78cc',
    500: '#af35b6',
    950: '#000000',
  },
}
SCSS
$custom: #af35b6;
$custom-light: #cb78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b6",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 296.744,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.21357,
    "h": 325.6
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#AF35B6
secondary
#84C780
accent
#DE4A52
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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