#AF53DB#AF53DB

#AF53DB is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.209 H 313.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF53DB
RGBrgb(175, 83, 219)
HSLhsl(281, 65%, 59%)
HSVhsv(281, 62%, 86%)
CMYKcmyk(20.1%, 62.1%, 0%, 14.1%)
CIE-LABlab(52.30, 58.97, -54.17)
CIE-LCHlch(52.30, 80.07, 317.43°)
OKLaboklab(61.43% 0.1425 -0.1523)
OKLCHoklch(61.43% 0.209 313.1)
XYZxyz(33.5564, 20.4159, 69.1771)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF53DB #7FDB53
analogous
#6B53DB #AF53DB #DB53C3
triadic
#AF53DB #DBAF53 #53DBAF
tetradic
#AF53DB #DB6B53 #7FDB53 #53C3DB
square
#AF53DB #DB6B53 #7FDB53 #53C3DB
split-complementary
#AF53DB #C3DB53 #53DB6B
monochromatic
#6F1F95 #942AC7 #AF53DB #C786E6 #DEB8F0

Accessibility & contrast

On white

4.13
#AF53DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AF53DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF53DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF53DB#FFFFFF#000000##000000
##AF53DB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#AB6D90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #af53db;
/* rgb */ color: rgb(175, 83, 219);
/* oklch */ color: oklch(61.4% 0.209 313.1);
Tailwind
colors: {
  custom: {
    50: '#ca89e7',
    500: '#af53db',
    950: '#000000',
  },
}
SCSS
$custom: #af53db;
$custom-light: #ca89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#af53db",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 280.588,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61426,
    "c": 0.20856,
    "h": 313.1
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#AF53DB
secondary
#BCDFAA
accent
#E83F76
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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