#AF35B3#AF35B3

#AF35B3 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.211 H 326.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AF35B3
RGBrgb(175, 53, 179)
HSLhsl(298, 54%, 45%)
HSVhsv(298, 70%, 70%)
CMYKcmyk(2.2%, 70.4%, 0%, 29.8%)
CIE-LABlab(45.52, 63.87, -41.90)
CIE-LCHlch(45.52, 76.39, 326.74°)
OKLaboklab(55.8% 0.1763 -0.1162)
OKLCHoklch(55.8% 0.211 326.6)
XYZxyz(27.0885, 14.9167, 44.0915)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35B3 #39B335
analogous
#7035B3 #AF35B3 #B33578
triadic
#AF35B3 #B3AF35 #35B3AF
tetradic
#AF35B3 #B37035 #39B335 #3578B3
square
#AF35B3 #B37035 #39B335 #3578B3
split-complementary
#AF35B3 #78B335 #35B370
monochromatic
#531955 #812784 #AF35B3 #CA58CD #D987DB

Accessibility & contrast

On white

5.27
#AF35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35B3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35B3#FFFFFF#000000##FFFFFF
##AF35B31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A62B7
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#B44971
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af35b3;
/* rgb */ color: rgb(175, 53, 179);
/* oklch */ color: oklch(55.8% 0.211 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca78ca',
    500: '#af35b3',
    950: '#000000',
  },
}
SCSS
$custom: #af35b3;
$custom-light: #ca78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#af35b3",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 298.095,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.21116,
    "h": 326.6
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#AF35B3
secondary
#81C57F
accent
#DE4A4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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