#AF35B7#AF35B7

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

Color values

HEX#AF35B7
RGBrgb(175, 53, 183)
HSLhsl(296, 55%, 46%)
HSVhsv(296, 71%, 72%)
CMYKcmyk(4.4%, 71%, 0%, 28.2%)
CIE-LABlab(45.74, 64.56, -43.89)
CIE-LCHlch(45.74, 78.06, 325.79°)
OKLaboklab(56.03% 0.1763 -0.122)
OKLCHoklch(56.03% 0.214 325.3)
XYZxyz(27.4989, 15.0808, 46.2531)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B7 #3DB735
analogous
#6E35B7 #AF35B7 #B7357E
triadic
#AF35B7 #B7AF35 #35B7AF
tetradic
#AF35B7 #B76E35 #3DB735 #357EB7
square
#AF35B7 #B76E35 #3DB735 #357EB7
split-complementary
#AF35B7 #7EB735 #35B76E
monochromatic
#541A58 #822788 #AF35B7 #C85ACF #D889DD

Accessibility & contrast

On white

5.23
#AF35B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF35B7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B7#FFFFFF#000000##FFFFFF
##AF35B71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#B34B73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b7;
/* rgb */ color: rgb(175, 53, 183);
/* oklch */ color: oklch(56.0% 0.214 325.3);
Tailwind
colors: {
  custom: {
    50: '#cb78cd',
    500: '#af35b7',
    950: '#000000',
  },
}
SCSS
$custom: #af35b7;
$custom-light: #cb78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b7",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 296.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.21438,
    "h": 325.3
  },
  "luminance": 0.15079
}

Semantic roles & 50–950 ramp

primary
#AF35B7
secondary
#85C781
accent
#DE4953
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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