#AF84DB#AF84DB

#AF84DB is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.8% C 0.132 H 306.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AF84DB
RGBrgb(175, 132, 219)
HSLhsl(270, 55%, 69%)
HSVhsv(270, 40%, 86%)
CMYKcmyk(20.1%, 39.7%, 0%, 14.1%)
CIE-LABlab(62.28, 33.22, -38.38)
CIE-LCHlch(62.28, 50.76, 310.88°)
OKLaboklab(68.82% 0.0773 -0.1066)
OKLCHoklch(68.82% 0.132 306)
XYZxyz(38.7141, 30.7312, 70.8963)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF84DB #B0DB84
analogous
#8485DB #AF84DB #DB84DB
triadic
#AF84DB #DBAF84 #84DBAF
tetradic
#AF84DB #DB8485 #B0DB84 #84DBDB
square
#AF84DB #DB8485 #B0DB84 #84DBDB
split-complementary
#AF84DB #DBDB84 #85DB84
monochromatic
#7234B1 #9055CD #AF84DB #CEB3E9 #EDE3F7

Accessibility & contrast

On white

2.94
#AF84DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AF84DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF84DB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF84DB#FFFFFF#000000##000000
##AF84DB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#A892A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #af84db;
/* rgb */ color: rgb(175, 132, 219);
/* oklch */ color: oklch(68.8% 0.132 306.0);
Tailwind
colors: {
  custom: {
    50: '#c8a8e6',
    500: '#af84db',
    950: '#000000',
  },
}
SCSS
$custom: #af84db;
$custom-light: #c8a8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#af84db",
  "rgb": {
    "r": 175,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 269.655,
    "s": 54.717,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68818,
    "c": 0.13168,
    "h": 306
  },
  "luminance": 0.30731
}

Semantic roles & 50–950 ramp

primary
#AF84DB
secondary
#DEEAD1
accent
#C22374
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AF84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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