#AD87FF#AD87FF

#AD87FF is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.0% C 0.172 H 296.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#AD87FF
RGBrgb(173, 135, 255)
HSLhsl(259, 100%, 76%)
HSVhsv(259, 47%, 100%)
CMYKcmyk(32.2%, 47.1%, 0%, 0%)
CIE-LABlab(64.51, 39.60, -54.77)
CIE-LCHlch(64.51, 67.59, 305.87°)
OKLaboklab(71.02% 0.0764 -0.1542)
OKLCHoklch(71.02% 0.172 296.4)
XYZxyz(43.9431, 33.4316, 98.7261)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87FF #D9FF87
analogous
#879DFF #AD87FF #E987FF
triadic
#AD87FF #FFAD87 #87FFAD
tetradic
#AD87FF #FF879D #D9FF87 #87FFE9
square
#AD87FF #FF879D #D9FF87 #87FFE9
split-complementary
#AD87FF #FFE987 #9DFF87
monochromatic
#590DFF #834AFF #AD87FF #D7C4FF #EAE0FF

Accessibility & contrast

On white

2.73
#AD87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#AD87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87FF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87FF#FFFFFF#000000##000000
##AD87FF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#9B9EB7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad87ff;
/* rgb */ color: rgb(173, 135, 255);
/* oklch */ color: oklch(71.0% 0.172 296.4);
Tailwind
colors: {
  custom: {
    50: '#c9aaff',
    500: '#ad87ff',
    950: '#000000',
  },
}
SCSS
$custom: #ad87ff;
$custom-light: #c9aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87ff",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 259,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.17212,
    "h": 296.4
  },
  "luminance": 0.33432
}

Semantic roles & 50–950 ramp

primary
#AD87FF
secondary
#ECF7D4
accent
#E6009D
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AD87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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