#AD87F8#AD87F8

#AD87F8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.6% C 0.163 H 297.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AD87F8
RGBrgb(173, 135, 248)
HSLhsl(260, 89%, 75%)
HSVhsv(260, 46%, 97%)
CMYKcmyk(30.2%, 45.6%, 0%, 2.7%)
CIE-LABlab(64.15, 37.87, -51.50)
CIE-LCHlch(64.15, 63.92, 306.33°)
OKLaboklab(70.63% 0.0756 -0.1447)
OKLCHoklch(70.63% 0.163 297.6)
XYZxyz(42.8367, 32.9890, 92.8994)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F8 #D2F887
analogous
#8799F8 #AD87F8 #E587F8
triadic
#AD87F8 #F8AD87 #87F8AD
tetradic
#AD87F8 #F88799 #D2F887 #87F8E5
square
#AD87F8 #F88799 #D2F887 #87F8E5
split-complementary
#AD87F8 #F8E587 #99F887
monochromatic
#5E13F1 #854DF5 #AD87F8 #D5C1FB #EBE2FD

Accessibility & contrast

On white

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

On black

7.60
#AD87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F8
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F8#FFFFFF#000000##000000
##AD87F81.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#9D9CB4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f8;
/* rgb */ color: rgb(173, 135, 248);
/* oklch */ color: oklch(70.6% 0.163 297.6);
Tailwind
colors: {
  custom: {
    50: '#c8aafb',
    500: '#ad87f8',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f8;
$custom-light: #c8aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f8",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 260.177,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.70633,
    "c": 0.16323,
    "h": 297.6
  },
  "luminance": 0.32989
}

Semantic roles & 50–950 ramp

primary
#AD87F8
secondary
#EBF5D6
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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