#AF55AE#AF55AE

#AF55AE is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.2% C 0.162 H 327.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF55AE
RGBrgb(175, 85, 174)
HSLhsl(301, 36%, 51%)
HSVhsv(301, 51%, 69%)
CMYKcmyk(0%, 51.4%, 0.6%, 31.4%)
CIE-LABlab(50.30, 49.16, -31.44)
CIE-LCHlch(50.30, 58.35, 327.40°)
OKLaboklab(59.19% 0.137 -0.0863)
OKLCHoklch(59.19% 0.162 327.8)
XYZxyz(28.5672, 18.6686, 42.1349)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55AE #55AF56
analogous
#8355AF #AF55AE #AF5581
triadic
#AF55AE #AEAF55 #55AEAF
tetradic
#AF55AE #AF8355 #55AF56 #5581AF
square
#AF55AE #AF8355 #55AF56 #5581AF
split-complementary
#AF55AE #81AF55 #55AF83
monochromatic
#5E2C5D #874086 #AF55AE #C37FC2 #D6A8D6

Accessibility & contrast

On white

4.44
#AF55AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AF55AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55AE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55AE#FFFFFF#000000##000000
##AF55AE1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B1
Deuteranopia (green-blind)
#687CAB
Tritanopia (blue-blind)
#B45F7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af55ae;
/* rgb */ color: rgb(175, 85, 174);
/* oklch */ color: oklch(59.2% 0.162 327.8);
Tailwind
colors: {
  custom: {
    50: '#c989c6',
    500: '#af55ae',
    950: '#000000',
  },
}
SCSS
$custom: #af55ae;
$custom-light: #c989c6;
$custom-dark: #000000;
JSON
{
  "hex": "#af55ae",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 300.667,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.16191,
    "h": 327.8
  },
  "luminance": 0.18667
}

Semantic roles & 50–950 ramp

primary
#AF55AE
secondary
#9CC49C
accent
#CC5D5C
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF55AE

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

Preview Lab → · Contrast checker → · Palette generator →

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