#AF35B8#AF35B8

#AF35B8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.215 H 325.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF35B8
RGBrgb(175, 53, 184)
HSLhsl(296, 55%, 46%)
HSVhsv(296, 71%, 72%)
CMYKcmyk(4.9%, 71.2%, 0%, 27.8%)
CIE-LABlab(45.80, 64.73, -44.38)
CIE-LCHlch(45.80, 78.48, 325.56°)
OKLaboklab(56.09% 0.1762 -0.1235)
OKLCHoklch(56.09% 0.215 325)
XYZxyz(27.6034, 15.1226, 46.8032)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B8 #3EB835
analogous
#6E35B8 #AF35B8 #B83580
triadic
#AF35B8 #B8AF35 #35B8AF
tetradic
#AF35B8 #B86E35 #3EB835 #3580B8
square
#AF35B8 #B86E35 #3EB835 #3580B8
split-complementary
#AF35B8 #80B835 #35B86E
monochromatic
#551A59 #822788 #AF35B8 #C85BD0 #D88ADD

Accessibility & contrast

On white

5.22
#AF35B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF35B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B8#FFFFFF#000000##FFFFFF
##AF35B81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BC
Deuteranopia (green-blind)
#4F72B5
Tritanopia (blue-blind)
#B34B73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b8;
/* rgb */ color: rgb(175, 53, 184);
/* oklch */ color: oklch(56.1% 0.215 325.0);
Tailwind
colors: {
  custom: {
    50: '#cb78ce',
    500: '#af35b8',
    950: '#000000',
  },
}
SCSS
$custom: #af35b8;
$custom-light: #cb78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b8",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 295.878,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.21519,
    "h": 325
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#AF35B8
secondary
#86C781
accent
#DF4953
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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