#AD87F5#AD87F5

#AD87F5 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.5% C 0.159 H 298.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AD87F5
RGBrgb(173, 135, 245)
HSLhsl(261, 85%, 75%)
HSVhsv(261, 45%, 96%)
CMYKcmyk(29.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(64.00, 37.13, -50.09)
CIE-LCHlch(64.00, 62.35, 306.55°)
OKLaboklab(70.47% 0.0752 -0.1406)
OKLCHoklch(70.47% 0.159 298.1)
XYZxyz(42.3751, 32.8044, 90.4679)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F5 #CFF587
analogous
#8798F5 #AD87F5 #E487F5
triadic
#AD87F5 #F5AD87 #87F5AD
tetradic
#AD87F5 #F58798 #CFF587 #87F5E4
square
#AD87F5 #F58798 #CFF587 #87F5E4
split-complementary
#AD87F5 #F5E487 #98F587
monochromatic
#6016EC #864FF0 #AD87F5 #D4BFFA #ECE3FD

Accessibility & contrast

On white

2.78
#AD87F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AD87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F5#FFFFFF#000000##000000
##AD87F51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#9E9BB2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f5;
/* rgb */ color: rgb(173, 135, 245);
/* oklch */ color: oklch(70.5% 0.159 298.1);
Tailwind
colors: {
  custom: {
    50: '#c8aaf9',
    500: '#ad87f5',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f5;
$custom-light: #c8aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f5",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 260.727,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.15941,
    "h": 298.1
  },
  "luminance": 0.32805
}

Semantic roles & 50–950 ramp

primary
#AD87F5
secondary
#EAF5D6
accent
#E10495
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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