#AF53BF#AF53BF

#AF53BF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.181 H 321.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF53BF
RGBrgb(175, 83, 191)
HSLhsl(291, 46%, 54%)
HSVhsv(291, 57%, 75%)
CMYKcmyk(8.4%, 56.5%, 0%, 25.1%)
CIE-LABlab(50.76, 53.33, -40.59)
CIE-LCHlch(50.76, 67.02, 322.72°)
OKLaboklab(59.81% 0.1417 -0.1127)
OKLCHoklch(59.81% 0.181 321.5)
XYZxyz(30.1754, 19.0635, 51.3703)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53BF #63BF53
analogous
#7953BF #AF53BF #BF5399
triadic
#AF53BF #BFAF53 #53BFAF
tetradic
#AF53BF #BF7953 #63BF53 #5399BF
square
#AF53BF #BF7953 #63BF53 #5399BF
split-complementary
#AF53BF #99BF53 #53BF79
monochromatic
#64296E #8D3A9B #AF53BF #C480D0 #D8ACE0

Accessibility & contrast

On white

4.36
#AF53BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#AF53BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53BF#FFFFFF#000000##000000
##AF53BF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#B16381
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af53bf;
/* rgb */ color: rgb(175, 83, 191);
/* oklch */ color: oklch(59.8% 0.181 321.5);
Tailwind
colors: {
  custom: {
    50: '#c988d3',
    500: '#af53bf',
    950: '#000000',
  },
}
SCSS
$custom: #af53bf;
$custom-light: #c988d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af53bf",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 291.111,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59805,
    "c": 0.18103,
    "h": 321.5
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#AF53BF
secondary
#A7CEA0
accent
#D55266
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AF53BF

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

Preview Lab → · Contrast checker → · Palette generator →

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