#AF53BA#AF53BA

#AF53BA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.176 H 323.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF53BA
RGBrgb(175, 83, 186)
HSLhsl(294, 43%, 53%)
HSVhsv(294, 55%, 73%)
CMYKcmyk(5.9%, 55.4%, 0%, 27.1%)
CIE-LABlab(50.51, 52.37, -38.10)
CIE-LCHlch(50.51, 64.76, 323.97°)
OKLaboklab(59.54% 0.1412 -0.1054)
OKLCHoklch(59.54% 0.176 323.3)
XYZxyz(29.6345, 18.8471, 48.5218)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BA #5EBA53
analogous
#7B53BA #AF53BA #BA5392
triadic
#AF53BA #BAAF53 #53BAAF
tetradic
#AF53BA #BA7B53 #5EBA53 #5392BA
square
#AF53BA #BA7B53 #5EBA53 #5392BA
split-complementary
#AF53BA #92BA53 #53BA7B
monochromatic
#622A69 #8B3B94 #AF53BA #C37FCC #D8AADD

Accessibility & contrast

On white

4.40
#AF53BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#AF53BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BA#FFFFFF#000000##000000
##AF53BA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#B2617F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #af53ba;
/* rgb */ color: rgb(175, 83, 186);
/* oklch */ color: oklch(59.5% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#c988cf',
    500: '#af53ba',
    950: '#000000',
  },
}
SCSS
$custom: #af53ba;
$custom-light: #c988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#af53ba",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 293.592,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59536,
    "c": 0.17626,
    "h": 323.3
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#AF53BA
secondary
#A3CB9E
accent
#D35563
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AF53BA

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

Preview Lab → · Contrast checker → · Palette generator →

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