#AF55DB#AF55DB

#AF55DB is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.206 H 312.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF55DB
RGBrgb(175, 85, 219)
HSLhsl(280, 65%, 60%)
HSVhsv(280, 61%, 86%)
CMYKcmyk(20.1%, 61.2%, 0%, 14.1%)
CIE-LABlab(52.65, 58.03, -53.62)
CIE-LCHlch(52.65, 79.01, 317.26°)
OKLaboklab(61.68% 0.1401 -0.1507)
OKLCHoklch(61.68% 0.206 312.9)
XYZxyz(33.7117, 20.7264, 69.2288)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF55DB #81DB55
analogous
#6C55DB #AF55DB #DB55C4
triadic
#AF55DB #DBAF55 #55DBAF
tetradic
#AF55DB #DB6C55 #81DB55 #55C4DB
square
#AF55DB #DB6C55 #81DB55 #55C4DB
split-complementary
#AF55DB #C4DB55 #55DB6C
monochromatic
#6F2096 #952AC8 #AF55DB #C788E6 #DFBAF0

Accessibility & contrast

On white

4.08
#AF55DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#AF55DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF55DB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF55DB#FFFFFF#000000##000000
##AF55DB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279DF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#AB6E90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #af55db;
/* rgb */ color: rgb(175, 85, 219);
/* oklch */ color: oklch(61.7% 0.206 312.9);
Tailwind
colors: {
  custom: {
    50: '#ca8ae7',
    500: '#af55db',
    950: '#000000',
  },
}
SCSS
$custom: #af55db;
$custom-light: #ca8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#af55db",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 280.299,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.20577,
    "h": 312.9
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#AF55DB
secondary
#BDE0AC
accent
#E84077
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AF55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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