#AF35A0#AF35A0

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

Color values

HEX#AF35A0
RGBrgb(175, 53, 160)
HSLhsl(307, 54%, 45%)
HSVhsv(307, 70%, 69%)
CMYKcmyk(0%, 69.7%, 8.6%, 31.4%)
CIE-LABlab(44.52, 60.77, -32.22)
CIE-LCHlch(44.52, 68.78, 332.07°)
OKLaboklab(54.75% 0.1755 -0.0882)
OKLCHoklch(54.75% 0.196 333.3)
XYZxyz(25.2976, 14.2003, 34.6595)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A0 #35AF44
analogous
#8135AF #AF35A0 #AF3563
triadic
#AF35A0 #A0AF35 #35A0AF
tetradic
#AF35A0 #AF8135 #35AF44 #3563AF
square
#AF35A0 #AF8135 #35AF44 #3563AF
split-complementary
#AF35A0 #63AF35 #35AF81
monochromatic
#51194A #802775 #AF35A0 #CC56BD #DA85CF

Accessibility & contrast

On white

5.47
#AF35A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF35A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A0#FFFFFF#000000##FFFFFF
##AF35A01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA3
Deuteranopia (green-blind)
#5C709D
Tritanopia (blue-blind)
#B74066
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af35a0;
/* rgb */ color: rgb(175, 53, 160);
/* oklch */ color: oklch(54.8% 0.196 333.3);
Tailwind
colors: {
  custom: {
    50: '#ca77bc',
    500: '#af35a0',
    950: '#000000',
  },
}
SCSS
$custom: #af35a0;
$custom-light: #ca77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a0",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 160
  },
  "hsl": {
    "h": 307.377,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.19642,
    "h": 333.3
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#AF35A0
secondary
#7CC485
accent
#DD5D4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF35A0

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

Preview Lab → · Contrast checker → · Palette generator →

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