#AF54AA#AF54AA

#AF54AA is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.9% C 0.160 H 329.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF54AA
RGBrgb(175, 84, 170)
HSLhsl(303, 36%, 51%)
HSVhsv(303, 52%, 69%)
CMYKcmyk(0%, 52%, 2.9%, 31.4%)
CIE-LABlab(49.93, 48.93, -29.67)
CIE-LCHlch(49.93, 57.23, 328.77°)
OKLaboklab(58.86% 0.1378 -0.0812)
OKLCHoklch(58.86% 0.16 329.5)
XYZxyz(28.1049, 18.3586, 40.0856)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF54AA #54AF59
analogous
#8654AF #AF54AA #AF547C
triadic
#AF54AA #AAAF54 #54AAAF
tetradic
#AF54AA #AF8654 #54AF59 #547CAF
square
#AF54AA #AF8654 #54AF59 #547CAF
split-complementary
#AF54AA #7CAF54 #54AF86
monochromatic
#5D2C5A #873F83 #AF54AA #C37EBF #D6A7D3

Accessibility & contrast

On white

4.50
#AF54AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AF54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF54AA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF54AA#FFFFFF#000000##000000
##AF54AA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#B55D77
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af54aa;
/* rgb */ color: rgb(175, 84, 170);
/* oklch */ color: oklch(58.9% 0.160 329.5);
Tailwind
colors: {
  custom: {
    50: '#c988c3',
    500: '#af54aa',
    950: '#000000',
  },
}
SCSS
$custom: #af54aa;
$custom-light: #c988c3;
$custom-dark: #000000;
JSON
{
  "hex": "#af54aa",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 303.297,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.15993,
    "h": 329.5
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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