#AF55BD#AF55BD

#AF55BD is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.176 H 322.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF55BD
RGBrgb(175, 85, 189)
HSLhsl(292, 44%, 54%)
HSVhsv(292, 55%, 74%)
CMYKcmyk(7.4%, 55%, 0%, 25.9%)
CIE-LABlab(51.02, 51.97, -39.03)
CIE-LCHlch(51.02, 64.99, 323.10°)
OKLaboklab(59.96% 0.1389 -0.1081)
OKLCHoklch(59.96% 0.176 322.1)
XYZxyz(30.1120, 19.2865, 50.2708)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55BD #63BD55
analogous
#7B55BD #AF55BD #BD5597
triadic
#AF55BD #BDAF55 #55BDAF
tetradic
#AF55BD #BD7B55 #63BD55 #5597BD
square
#AF55BD #BD7B55 #63BD55 #5597BD
split-complementary
#AF55BD #97BD55 #55BD7B
monochromatic
#642A6D #8D3C99 #AF55BD #C481CE #D8ADDF

Accessibility & contrast

On white

4.32
#AF55BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AF55BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55BD#FFFFFF#000000##000000
##AF55BD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#B16381
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af55bd;
/* rgb */ color: rgb(175, 85, 189);
/* oklch */ color: oklch(60.0% 0.176 322.1);
Tailwind
colors: {
  custom: {
    50: '#c989d1',
    500: '#af55bd',
    950: '#000000',
  },
}
SCSS
$custom: #af55bd;
$custom-light: #c989d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af55bd",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 291.923,
    "s": 44.068,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.17602,
    "h": 322.1
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#AF55BD
secondary
#A7CDA1
accent
#D45465
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF55BD

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

Preview Lab → · Contrast checker → · Palette generator →

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