#AD87F9#AD87F9

#AD87F9 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.165 H 297.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#AD87F9
RGBrgb(173, 135, 249)
HSLhsl(260, 90%, 75%)
HSVhsv(260, 46%, 98%)
CMYKcmyk(30.5%, 45.8%, 0%, 2.4%)
CIE-LABlab(64.20, 38.11, -51.97)
CIE-LCHlch(64.20, 64.45, 306.26°)
OKLaboklab(70.69% 0.0757 -0.1461)
OKLCHoklch(70.69% 0.165 297.4)
XYZxyz(42.9923, 33.0513, 93.7187)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F9 #D3F987
analogous
#879AF9 #AD87F9 #E687F9
triadic
#AD87F9 #F9AD87 #87F9AD
tetradic
#AD87F9 #F9879A #D3F987 #87F9E6
square
#AD87F9 #F9879A #D3F987 #87F9E6
split-complementary
#AD87F9 #F9E687 #9AF987
monochromatic
#5D12F3 #854DF6 #AD87F9 #D5C1FC #EBE2FE

Accessibility & contrast

On white

2.76
#AD87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#AD87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F9#FFFFFF#000000##000000
##AD87F91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#9D9CB4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ad87f9;
/* rgb */ color: rgb(173, 135, 249);
/* oklch */ color: oklch(70.7% 0.165 297.4);
Tailwind
colors: {
  custom: {
    50: '#c8aafc',
    500: '#ad87f9',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f9;
$custom-light: #c8aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f9",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 260,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70687,
    "c": 0.1645,
    "h": 297.4
  },
  "luminance": 0.33052
}

Semantic roles & 50–950 ramp

primary
#AD87F9
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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