#AD87FC#AD87FC

#AD87FC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.9% C 0.168 H 296.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#AD87FC
RGBrgb(173, 135, 252)
HSLhsl(259, 95%, 76%)
HSVhsv(259, 46%, 99%)
CMYKcmyk(31.3%, 46.4%, 0%, 1.2%)
CIE-LABlab(64.35, 38.86, -53.37)
CIE-LCHlch(64.35, 66.02, 306.06°)
OKLaboklab(70.85% 0.0761 -0.1501)
OKLCHoklch(70.85% 0.168 296.9)
XYZxyz(43.4639, 33.2399, 96.2026)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87FC #D6FC87
analogous
#879BFC #AD87FC #E787FC
triadic
#AD87FC #FCAD87 #87FCAD
tetradic
#AD87FC #FC879B #D6FC87 #87FCE7
square
#AD87FC #FC879B #D6FC87 #87FCE7
split-complementary
#AD87FC #FCE787 #9BFC87
monochromatic
#5B10F9 #844BFB #AD87FC #D6C3FD #EBE1FE

Accessibility & contrast

On white

2.75
#AD87FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#AD87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87FC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87FC#FFFFFF#000000##000000
##AD87FC1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#9C9DB6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad87fc;
/* rgb */ color: rgb(173, 135, 252);
/* oklch */ color: oklch(70.9% 0.168 296.9);
Tailwind
colors: {
  custom: {
    50: '#c8aafe',
    500: '#ad87fc',
    950: '#000000',
  },
}
SCSS
$custom: #ad87fc;
$custom-light: #c8aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87fc",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 259.487,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.16832,
    "h": 296.9
  },
  "luminance": 0.3324
}

Semantic roles & 50–950 ramp

primary
#AD87FC
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AD87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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