#AF53BC#AF53BC

#AF53BC is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.178 H 322.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF53BC
RGBrgb(175, 83, 188)
HSLhsl(293, 44%, 53%)
HSVhsv(293, 56%, 74%)
CMYKcmyk(6.9%, 55.9%, 0%, 26.3%)
CIE-LABlab(50.61, 52.75, -39.10)
CIE-LCHlch(50.61, 65.66, 323.46°)
OKLaboklab(59.64% 0.1414 -0.1083)
OKLCHoklch(59.64% 0.178 322.5)
XYZxyz(29.8486, 18.9328, 49.6493)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BC #60BC53
analogous
#7A53BC #AF53BC #BC5395
triadic
#AF53BC #BCAF53 #53BCAF
tetradic
#AF53BC #BC7A53 #60BC53 #5395BC
square
#AF53BC #BC7A53 #60BC53 #5395BC
split-complementary
#AF53BC #95BC53 #53BC7A
monochromatic
#632A6B #8C3B97 #AF53BC #C37FCD #D8ABDE

Accessibility & contrast

On white

4.39
#AF53BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AF53BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BC#FFFFFF#000000##000000
##AF53BC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#607CB9
Tritanopia (blue-blind)
#B16280
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af53bc;
/* rgb */ color: rgb(175, 83, 188);
/* oklch */ color: oklch(59.6% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#c988d0',
    500: '#af53bc',
    950: '#000000',
  },
}
SCSS
$custom: #af53bc;
$custom-light: #c988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af53bc",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 188
  },
  "hsl": {
    "h": 292.571,
    "s": 43.933,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59643,
    "c": 0.17816,
    "h": 322.5
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#AF53BC
secondary
#A4CC9F
accent
#D45464
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF53BC

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

Preview Lab → · Contrast checker → · Palette generator →

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