#AD87F1#AD87F1

#AD87F1 is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.3% C 0.154 H 298.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AD87F1
RGBrgb(173, 135, 241)
HSLhsl(262, 79%, 74%)
HSVhsv(262, 44%, 95%)
CMYKcmyk(28.2%, 44%, 0%, 5.5%)
CIE-LABlab(63.81, 36.16, -48.20)
CIE-LCHlch(63.81, 60.25, 306.88°)
OKLaboklab(70.26% 0.0746 -0.1351)
OKLCHoklch(70.26% 0.154 298.9)
XYZxyz(41.7710, 32.5627, 87.2866)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F1 #CBF187
analogous
#8796F1 #AD87F1 #E287F1
triadic
#AD87F1 #F1AD87 #87F1AD
tetradic
#AD87F1 #F18796 #CBF187 #87F1E2
square
#AD87F1 #F18796 #CBF187 #87F1E2
split-complementary
#AD87F1 #F1E287 #96F187
monochromatic
#621AE3 #8850EB #AD87F1 #D2BEF7 #ECE4FC

Accessibility & contrast

On white

2.80
#AD87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AD87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F1
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F1#FFFFFF#000000##000000
##AD87F11.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF5
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#9F9AB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f1;
/* rgb */ color: rgb(173, 135, 241);
/* oklch */ color: oklch(70.3% 0.154 298.9);
Tailwind
colors: {
  custom: {
    50: '#c8aaf6',
    500: '#ad87f1',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f1;
$custom-light: #c8aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f1",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 261.509,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.1543,
    "h": 298.9
  },
  "luminance": 0.32563
}

Semantic roles & 50–950 ramp

primary
#AD87F1
secondary
#E9F4D7
accent
#DB0A90
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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