#AF35A8#AF35A8

#AF35A8 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.203 H 330.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF35A8
RGBrgb(175, 53, 168)
HSLhsl(303, 54%, 45%)
HSVhsv(303, 70%, 69%)
CMYKcmyk(0%, 69.7%, 4%, 31.4%)
CIE-LABlab(44.93, 62.04, -36.34)
CIE-LCHlch(44.93, 71.90, 329.64°)
OKLaboklab(55.18% 0.176 -0.1001)
OKLCHoklch(55.18% 0.203 330.4)
XYZxyz(26.0201, 14.4893, 38.4645)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A8 #35AF3C
analogous
#7935AF #AF35A8 #AF356B
triadic
#AF35A8 #A8AF35 #35A8AF
tetradic
#AF35A8 #AF7935 #35AF3C #356BAF
square
#AF35A8 #AF7935 #35AF3C #356BAF
split-complementary
#AF35A8 #6BAF35 #35AF79
monochromatic
#51194E #80277B #AF35A8 #CC56C5 #DA85D5

Accessibility & contrast

On white

5.39
#AF35A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF35A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A8#FFFFFF#000000##FFFFFF
##AF35A81.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AB
Deuteranopia (green-blind)
#5970A5
Tritanopia (blue-blind)
#B6446B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a8;
/* rgb */ color: rgb(175, 53, 168);
/* oklch */ color: oklch(55.2% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#ca77c2',
    500: '#af35a8',
    950: '#000000',
  },
}
SCSS
$custom: #af35a8;
$custom-light: #ca77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a8",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 303.443,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5518,
    "c": 0.20251,
    "h": 330.4
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#AF35A8
secondary
#7CC480
accent
#DD534B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF35A8

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

Preview Lab → · Contrast checker → · Palette generator →

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