#AF53B2#AF53B2

#AF53B2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 59.1% C 0.169 H 326.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF53B2
RGBrgb(175, 83, 178)
HSLhsl(298, 38%, 51%)
HSVhsv(298, 53%, 70%)
CMYKcmyk(1.7%, 53.4%, 0%, 30.2%)
CIE-LABlab(50.12, 50.88, -34.06)
CIE-LCHlch(50.12, 61.22, 326.20°)
OKLaboklab(59.12% 0.1403 -0.0938)
OKLCHoklch(59.12% 0.169 326.2)
XYZxyz(28.8078, 18.5164, 44.1675)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53B2 #56B253
analogous
#7F53B2 #AF53B2 #B25385
triadic
#AF53B2 #B2AF53 #53B2AF
tetradic
#AF53B2 #B27F53 #56B253 #5385B2
square
#AF53B2 #B27F53 #56B253 #5385B2
split-complementary
#AF53B2 #85B253 #53B27F
monochromatic
#5E2B60 #883E8A #AF53B2 #C37DC5 #D6A8D8

Accessibility & contrast

On white

4.47
#AF53B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF53B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53B2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53B2#FFFFFF#000000##000000
##AF53B21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#B35E7B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af53b2;
/* rgb */ color: rgb(175, 83, 178);
/* oklch */ color: oklch(59.1% 0.169 326.2);
Tailwind
colors: {
  custom: {
    50: '#c988c9',
    500: '#af53b2',
    950: '#000000',
  },
}
SCSS
$custom: #af53b2;
$custom-light: #c988c9;
$custom-dark: #000000;
JSON
{
  "hex": "#af53b2",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 298.105,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.16879,
    "h": 326.2
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#AF53B2
secondary
#9DC59B
accent
#CE5A5D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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