#AD87F6#AD87F6

#AD87F6 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.5% C 0.161 H 297.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AD87F6
RGBrgb(173, 135, 246)
HSLhsl(261, 86%, 75%)
HSVhsv(261, 45%, 96%)
CMYKcmyk(29.7%, 45.1%, 0%, 3.5%)
CIE-LABlab(64.05, 37.38, -50.56)
CIE-LCHlch(64.05, 62.87, 306.47°)
OKLaboklab(70.53% 0.0753 -0.1419)
OKLCHoklch(70.53% 0.161 297.9)
XYZxyz(42.5281, 32.8656, 91.2740)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F6 #D0F687
analogous
#8798F6 #AD87F6 #E587F6
triadic
#AD87F6 #F6AD87 #87F6AD
tetradic
#AD87F6 #F68798 #D0F687 #87F6E5
square
#AD87F6 #F68798 #D0F687 #87F6E5
split-complementary
#AD87F6 #F6E587 #98F687
monochromatic
#5F15ED #864EF2 #AD87F6 #D4C0FA #ECE3FD

Accessibility & contrast

On white

2.77
#AD87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AD87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F6
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F6#FFFFFF#000000##000000
##AD87F61.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#9E9BB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f6;
/* rgb */ color: rgb(173, 135, 246);
/* oklch */ color: oklch(70.5% 0.161 297.9);
Tailwind
colors: {
  custom: {
    50: '#c8aaf9',
    500: '#ad87f6',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f6;
$custom-light: #c8aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f6",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 260.541,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.16068,
    "h": 297.9
  },
  "luminance": 0.32866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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