#AF53DD#AF53DD

#AF53DD is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.211 H 312.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF53DD
RGBrgb(175, 83, 221)
HSLhsl(280, 67%, 60%)
HSVhsv(280, 62%, 87%)
CMYKcmyk(20.8%, 62.4%, 0%, 13.3%)
CIE-LABlab(52.42, 59.39, -55.11)
CIE-LCHlch(52.42, 81.02, 317.14°)
OKLaboklab(61.55% 0.1425 -0.155)
OKLCHoklch(61.55% 0.211 312.6)
XYZxyz(33.8213, 20.5218, 70.5721)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53DD #81DD53
analogous
#6A53DD #AF53DD #DD53C6
triadic
#AF53DD #DDAF53 #53DDAF
tetradic
#AF53DD #DD6A53 #81DD53 #53C6DD
square
#AF53DD #DD6A53 #81DD53 #53C6DD
split-complementary
#AF53DD #C6DD53 #53DD6A
monochromatic
#6F1E98 #9528CB #AF53DD #C786E7 #DFB9F1

Accessibility & contrast

On white

4.11
#AF53DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AF53DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53DD#FFFFFF#000000##000000
##AF53DD1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#AA6D91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af53dd;
/* rgb */ color: rgb(175, 83, 221);
/* oklch */ color: oklch(61.5% 0.211 312.6);
Tailwind
colors: {
  custom: {
    50: '#ca89e8',
    500: '#af53dd',
    950: '#000000',
  },
}
SCSS
$custom: #af53dd;
$custom-light: #ca89e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af53dd",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 221
  },
  "hsl": {
    "h": 280,
    "s": 66.99,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.21056,
    "h": 312.6
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#AF53DD
secondary
#BDE1AB
accent
#EA3E77
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53DD

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

Preview Lab → · Contrast checker → · Palette generator →

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