#AD87EA#AD87EA

#AD87EA is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.9% C 0.145 H 300.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AD87EA
RGBrgb(173, 135, 234)
HSLhsl(263, 70%, 72%)
HSVhsv(263, 42%, 92%)
CMYKcmyk(26.1%, 42.3%, 0%, 8.2%)
CIE-LABlab(63.47, 34.47, -44.86)
CIE-LCHlch(63.47, 56.58, 307.54°)
OKLaboklab(69.9% 0.0735 -0.1254)
OKLCHoklch(69.9% 0.145 300.4)
XYZxyz(40.7455, 32.1525, 81.8854)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87EA #C4EA87
analogous
#8793EA #AD87EA #DE87EA
triadic
#AD87EA #EAAD87 #87EAAD
tetradic
#AD87EA #EA8793 #C4EA87 #87EADE
square
#AD87EA #EA8793 #C4EA87 #87EADE
split-complementary
#AD87EA #EADE87 #93EA87
monochromatic
#6725D2 #8953E1 #AD87EA #D1BBF3 #EDE5FA

Accessibility & contrast

On white

2.83
#AD87EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AD87EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87EA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87EA#FFFFFF#000000##000000
##AD87EA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7499E7
Tritanopia (blue-blind)
#A298AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ad87ea;
/* rgb */ color: rgb(173, 135, 234);
/* oklch */ color: oklch(69.9% 0.145 300.4);
Tailwind
colors: {
  custom: {
    50: '#c7aaf1',
    500: '#ad87ea',
    950: '#000000',
  },
}
SCSS
$custom: #ad87ea;
$custom-light: #c7aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87ea",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 263.03,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69896,
    "c": 0.14533,
    "h": 300.4
  },
  "luminance": 0.32153
}

Semantic roles & 50–950 ramp

primary
#AD87EA
secondary
#E8F2D9
accent
#D21389
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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