#AF35A1#AF35A1

#AF35A1 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.8% C 0.197 H 332.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF35A1
RGBrgb(175, 53, 161)
HSLhsl(307, 54%, 45%)
HSVhsv(307, 70%, 69%)
CMYKcmyk(0%, 69.7%, 8%, 31.4%)
CIE-LABlab(44.57, 60.93, -32.73)
CIE-LCHlch(44.57, 69.16, 331.75°)
OKLaboklab(54.81% 0.1756 -0.0897)
OKLCHoklch(54.81% 0.197 332.9)
XYZxyz(25.3854, 14.2354, 35.1220)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A1 #35AF43
analogous
#8035AF #AF35A1 #AF3564
triadic
#AF35A1 #A1AF35 #35A1AF
tetradic
#AF35A1 #AF8035 #35AF43 #3564AF
square
#AF35A1 #AF8035 #35AF43 #3564AF
split-complementary
#AF35A1 #64AF35 #35AF80
monochromatic
#51194B #802776 #AF35A1 #CC56BE #DA85D0

Accessibility & contrast

On white

5.46
#AF35A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF35A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A1#FFFFFF#000000##FFFFFF
##AF35A11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305EA4
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#B74167
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af35a1;
/* rgb */ color: rgb(175, 53, 161);
/* oklch */ color: oklch(54.8% 0.197 332.9);
Tailwind
colors: {
  custom: {
    50: '#ca77bd',
    500: '#af35a1',
    950: '#000000',
  },
}
SCSS
$custom: #af35a1;
$custom-light: #ca77bd;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a1",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 161
  },
  "hsl": {
    "h": 306.885,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.19718,
    "h": 332.9
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#AF35A1
secondary
#7CC484
accent
#DD5C4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF35A1

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

Preview Lab → · Contrast checker → · Palette generator →

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