#AF53BD#AF53BD

#AF53BD is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.179 H 322.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF53BD
RGBrgb(175, 83, 189)
HSLhsl(292, 45%, 53%)
HSVhsv(292, 56%, 74%)
CMYKcmyk(7.4%, 56.1%, 0%, 25.9%)
CIE-LABlab(50.66, 52.95, -39.60)
CIE-LCHlch(50.66, 66.11, 323.21°)
OKLaboklab(59.7% 0.1415 -0.1098)
OKLCHoklch(59.7% 0.179 322.2)
XYZxyz(29.9568, 18.9760, 50.2190)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BD #61BD53
analogous
#7A53BD #AF53BD #BD5396
triadic
#AF53BD #BDAF53 #53BDAF
tetradic
#AF53BD #BD7A53 #61BD53 #5396BD
square
#AF53BD #BD7A53 #61BD53 #5396BD
split-complementary
#AF53BD #96BD53 #53BD7A
monochromatic
#63296C #8C3A98 #AF53BD #C47FCE #D8ABDF

Accessibility & contrast

On white

4.38
#AF53BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AF53BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BD#FFFFFF#000000##000000
##AF53BD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#B16280
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af53bd;
/* rgb */ color: rgb(175, 83, 189);
/* oklch */ color: oklch(59.7% 0.179 322.2);
Tailwind
colors: {
  custom: {
    50: '#c988d1',
    500: '#af53bd',
    950: '#000000',
  },
}
SCSS
$custom: #af53bd;
$custom-light: #c988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af53bd",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 292.075,
    "s": 44.538,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59696,
    "c": 0.17911,
    "h": 322.2
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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