#AF3AAA#AF3AAA

#AF3AAA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.8% C 0.198 H 329.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF3AAA
RGBrgb(175, 58, 170)
HSLhsl(303, 50%, 46%)
HSVhsv(303, 67%, 69%)
CMYKcmyk(0%, 66.9%, 2.9%, 31.4%)
CIE-LABlab(45.69, 60.50, -36.31)
CIE-LCHlch(45.69, 70.56, 329.03°)
OKLaboklab(55.77% 0.1708 -0.1001)
OKLCHoklch(55.77% 0.198 329.6)
XYZxyz(26.4478, 15.0443, 39.5333)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AAA #3AAF3F
analogous
#793AAF #AF3AAA #AF3A6F
triadic
#AF3AAA #AAAF3A #3AAAAF
tetradic
#AF3AAA #AF793A #3AAF3F #3A6FAF
square
#AF3AAA #AF793A #3AAF3F #3A6FAF
split-complementary
#AF3AAA #6FAF3A #3AAF79
monochromatic
#531C51 #812B7D #AF3AAA #C95DC5 #D98BD5

Accessibility & contrast

On white

5.24
#AF3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AAA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AAA#FFFFFF#000000##FFFFFF
##AF3AAA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#B5486D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3aaa;
/* rgb */ color: rgb(175, 58, 170);
/* oklch */ color: oklch(55.8% 0.198 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ac4',
    500: '#af3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #af3aaa;
$custom-light: #ca7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3aaa",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 302.564,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.19793,
    "h": 329.6
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#AF3AAA
secondary
#82C385
accent
#DA544E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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