#AF55AA#AF55AA

#AF55AA is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.0% C 0.158 H 329.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF55AA
RGBrgb(175, 85, 170)
HSLhsl(303, 36%, 51%)
HSVhsv(303, 51%, 69%)
CMYKcmyk(0%, 51.4%, 2.9%, 31.4%)
CIE-LABlab(50.11, 48.44, -29.38)
CIE-LCHlch(50.11, 56.65, 328.76°)
OKLaboklab(59% 0.1364 -0.0804)
OKLCHoklch(59% 0.158 329.5)
XYZxyz(28.1831, 18.5149, 40.1117)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55AA #55AF5A
analogous
#8755AF #AF55AA #AF557D
triadic
#AF55AA #AAAF55 #55AAAF
tetradic
#AF55AA #AF8755 #55AF5A #557DAF
square
#AF55AA #AF8755 #55AF5A #557DAF
split-complementary
#AF55AA #7DAF55 #55AF87
monochromatic
#5E2C5B #874083 #AF55AA #C37FBF #D6A8D4

Accessibility & contrast

On white

4.47
#AF55AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF55AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55AA#FFFFFF#000000##000000
##AF55AA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#6A7CA7
Tritanopia (blue-blind)
#B55D78
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af55aa;
/* rgb */ color: rgb(175, 85, 170);
/* oklch */ color: oklch(59.0% 0.158 329.5);
Tailwind
colors: {
  custom: {
    50: '#c989c3',
    500: '#af55aa',
    950: '#000000',
  },
}
SCSS
$custom: #af55aa;
$custom-light: #c989c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af55aa",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 303.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58999,
    "c": 0.1583,
    "h": 329.5
  },
  "luminance": 0.18513
}

Semantic roles & 50–950 ramp

primary
#AF55AA
secondary
#9CC49E
accent
#CC625C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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