#AF55BA#AF55BA

#AF55BA is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.8% C 0.173 H 323.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF55BA
RGBrgb(175, 85, 186)
HSLhsl(293, 42%, 53%)
HSVhsv(293, 54%, 73%)
CMYKcmyk(5.9%, 54.3%, 0%, 27.1%)
CIE-LABlab(50.87, 51.40, -37.52)
CIE-LCHlch(50.87, 63.64, 323.87°)
OKLaboklab(59.8% 0.1386 -0.1038)
OKLCHoklch(59.8% 0.173 323.2)
XYZxyz(29.7898, 19.1576, 48.5735)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55BA #60BA55
analogous
#7C55BA #AF55BA #BA5592
triadic
#AF55BA #BAAF55 #55BAAF
tetradic
#AF55BA #BA7C55 #60BA55 #5592BA
square
#AF55BA #BA7C55 #60BA55 #5592BA
split-complementary
#AF55BA #92BA55 #55BA7C
monochromatic
#632B6A #8C3D95 #AF55BA #C381CC #D8ACDD

Accessibility & contrast

On white

4.35
#AF55BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF55BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55BA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55BA#FFFFFF#000000##000000
##AF55BA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#B26280
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af55ba;
/* rgb */ color: rgb(175, 85, 186);
/* oklch */ color: oklch(59.8% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#c989cf',
    500: '#af55ba',
    950: '#000000',
  },
}
SCSS
$custom: #af55ba;
$custom-light: #c989cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af55ba",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 293.465,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59803,
    "c": 0.17314,
    "h": 323.2
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#AF55BA
secondary
#A4CBA0
accent
#D25663
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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