#AF55C0#AF55C0

#AF55C0 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.179 H 321.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF55C0
RGBrgb(175, 85, 192)
HSLhsl(290, 46%, 54%)
HSVhsv(290, 56%, 75%)
CMYKcmyk(8.9%, 55.7%, 0%, 24.7%)
CIE-LABlab(51.17, 52.55, -40.52)
CIE-LCHlch(51.17, 66.36, 322.37°)
OKLaboklab(60.12% 0.1391 -0.1125)
OKLCHoklch(60.12% 0.179 321)
XYZxyz(30.4410, 19.4181, 52.0036)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55C0 #66C055
analogous
#7A55C0 #AF55C0 #C0559C
triadic
#AF55C0 #C0AF55 #55C0AF
tetradic
#AF55C0 #C07A55 #66C055 #559CC0
square
#AF55C0 #C07A55 #66C055 #559CC0
split-complementary
#AF55C0 #9CC055 #55C07A
monochromatic
#662A71 #8E3A9D #AF55C0 #C482D1 #D9AEE1

Accessibility & contrast

On white

4.30
#AF55C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#AF55C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55C0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55C0#FFFFFF#000000##000000
##AF55C01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C3
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#B16482
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af55c0;
/* rgb */ color: rgb(175, 85, 192);
/* oklch */ color: oklch(60.1% 0.179 321.0);
Tailwind
colors: {
  custom: {
    50: '#c989d3',
    500: '#af55c0',
    950: '#000000',
  },
}
SCSS
$custom: #af55c0;
$custom-light: #c989d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af55c0",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 290.467,
    "s": 45.923,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60122,
    "c": 0.17892,
    "h": 321
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#AF55C0
secondary
#A9CFA2
accent
#D65267
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AF55C0

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

Preview Lab → · Contrast checker → · Palette generator →

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