#AF35BC#AF35BC

#AF35BC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.218 H 323.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF35BC
RGBrgb(175, 53, 188)
HSLhsl(294, 56%, 47%)
HSVhsv(294, 72%, 74%)
CMYKcmyk(6.9%, 71.8%, 0%, 26.3%)
CIE-LABlab(46.03, 65.42, -46.36)
CIE-LCHlch(46.03, 80.18, 324.68°)
OKLaboklab(56.33% 0.1761 -0.1292)
OKLCHoklch(56.33% 0.218 323.7)
XYZxyz(28.0286, 15.2927, 49.0427)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35BC #42BC35
analogous
#6B35BC #AF35BC #BC3586
triadic
#AF35BC #BCAF35 #35BCAF
tetradic
#AF35BC #BC6B35 #42BC35 #3586BC
square
#AF35BC #BC6B35 #42BC35 #3586BC
split-complementary
#AF35BC #86BC35 #35BC6B
monochromatic
#561A5D #83288C #AF35BC #C65DD1 #D78DDF

Accessibility & contrast

On white

5.17
#AF35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35BC#FFFFFF#000000##FFFFFF
##AF35BC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#B24D75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af35bc;
/* rgb */ color: rgb(175, 53, 188);
/* oklch */ color: oklch(56.3% 0.218 323.7);
Tailwind
colors: {
  custom: {
    50: '#cb78d1',
    500: '#af35bc',
    950: '#000000',
  },
}
SCSS
$custom: #af35bc;
$custom-light: #cb78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af35bc",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 294.222,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.21844,
    "h": 323.7
  },
  "luminance": 0.15291
}

Semantic roles & 50–950 ramp

primary
#AF35BC
secondary
#8AC984
accent
#DF4857
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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