#AF55BB#AF55BB

#AF55BB is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.174 H 322.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF55BB
RGBrgb(175, 85, 187)
HSLhsl(293, 43%, 53%)
HSVhsv(293, 55%, 73%)
CMYKcmyk(6.4%, 54.5%, 0%, 26.7%)
CIE-LABlab(50.92, 51.59, -38.02)
CIE-LCHlch(50.92, 64.09, 323.61°)
OKLaboklab(59.86% 0.1387 -0.1053)
OKLCHoklch(59.86% 0.174 322.8)
XYZxyz(29.8964, 19.2003, 49.1353)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55BB #61BB55
analogous
#7C55BB #AF55BB #BB5594
triadic
#AF55BB #BBAF55 #55BBAF
tetradic
#AF55BB #BB7C55 #61BB55 #5594BB
square
#AF55BB #BB7C55 #61BB55 #5594BB
split-complementary
#AF55BB #94BB55 #55BB7C
monochromatic
#632B6B #8C3C97 #AF55BB #C481CC #D8ACDE

Accessibility & contrast

On white

4.34
#AF55BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AF55BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55BB#FFFFFF#000000##000000
##AF55BB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#B16380
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af55bb;
/* rgb */ color: rgb(175, 85, 187);
/* oklch */ color: oklch(59.9% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#c989d0',
    500: '#af55bb',
    950: '#000000',
  },
}
SCSS
$custom: #af55bb;
$custom-light: #c989d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af55bb",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 292.941,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59856,
    "c": 0.17409,
    "h": 322.8
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#AF55BB
secondary
#A5CCA0
accent
#D35564
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF55BB

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

Preview Lab → · Contrast checker → · Palette generator →

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