#AF35A3#AF35A3

#AF35A3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.9% C 0.199 H 332.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF35A3
RGBrgb(175, 53, 163)
HSLhsl(306, 54%, 45%)
HSVhsv(306, 70%, 69%)
CMYKcmyk(0%, 69.7%, 6.9%, 31.4%)
CIE-LABlab(44.67, 61.24, -33.77)
CIE-LCHlch(44.67, 69.93, 331.13°)
OKLaboklab(54.91% 0.1757 -0.0927)
OKLCHoklch(54.91% 0.199 332.2)
XYZxyz(25.5632, 14.3065, 36.0583)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF35A3 #35AF41
analogous
#7E35AF #AF35A3 #AF3566
triadic
#AF35A3 #A3AF35 #35A3AF
tetradic
#AF35A3 #AF7E35 #35AF41 #3566AF
square
#AF35A3 #AF7E35 #35AF41 #3566AF
split-complementary
#AF35A3 #66AF35 #35AF7E
monochromatic
#51194B #802777 #AF35A3 #CC56C0 #DA85D1

Accessibility & contrast

On white

5.44
#AF35A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF35A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF35A3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF35A3#FFFFFF#000000##FFFFFF
##AF35A31.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5FA6
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#B64168
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af35a3;
/* rgb */ color: rgb(175, 53, 163);
/* oklch */ color: oklch(54.9% 0.199 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca77be',
    500: '#af35a3',
    950: '#000000',
  },
}
SCSS
$custom: #af35a3;
$custom-light: #ca77be;
$custom-dark: #000000;
JSON
{
  "hex": "#af35a3",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 305.902,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.19868,
    "h": 332.2
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#AF35A3
secondary
#7CC483
accent
#DD594B
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF35A3

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

Preview Lab → · Contrast checker → · Palette generator →

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