#AF55BC#AF55BC

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

Color values

HEX#AF55BC
RGBrgb(175, 85, 188)
HSLhsl(292, 43%, 54%)
HSVhsv(292, 55%, 74%)
CMYKcmyk(6.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(50.97, 51.78, -38.53)
CIE-LCHlch(50.97, 64.54, 323.35°)
OKLaboklab(59.91% 0.1388 -0.1067)
OKLCHoklch(59.91% 0.175 322.4)
XYZxyz(30.0039, 19.2432, 49.7011)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55BC #62BC55
analogous
#7B55BC #AF55BC #BC5595
triadic
#AF55BC #BCAF55 #55BCAF
tetradic
#AF55BC #BC7B55 #62BC55 #5595BC
square
#AF55BC #BC7B55 #62BC55 #5595BC
split-complementary
#AF55BC #95BC55 #55BC7B
monochromatic
#642B6C #8C3C98 #AF55BC #C481CD #D8ADDF

Accessibility & contrast

On white

4.33
#AF55BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF55BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55BC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55BC#FFFFFF#000000##000000
##AF55BC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B16380
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af55bc;
/* rgb */ color: rgb(175, 85, 188);
/* oklch */ color: oklch(59.9% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#c989d0',
    500: '#af55bc',
    950: '#000000',
  },
}
SCSS
$custom: #af55bc;
$custom-light: #c989d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af55bc",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 292.427,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.17505,
    "h": 322.4
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#AF55BC
secondary
#A6CCA0
accent
#D35565
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF55BC

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

Preview Lab → · Contrast checker → · Palette generator →

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