#AD87F0#AD87F0

#AD87F0 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.2% C 0.153 H 299.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#AD87F0
RGBrgb(173, 135, 240)
HSLhsl(262, 78%, 74%)
HSVhsv(262, 44%, 94%)
CMYKcmyk(27.9%, 43.8%, 0%, 5.9%)
CIE-LABlab(63.76, 35.91, -47.72)
CIE-LCHlch(63.76, 59.73, 306.96°)
OKLaboklab(70.21% 0.0745 -0.1337)
OKLCHoklch(70.21% 0.153 299.1)
XYZxyz(41.6221, 32.5032, 86.5021)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F0 #CAF087
analogous
#8795F0 #AD87F0 #E187F0
triadic
#AD87F0 #F0AD87 #87F0AD
tetradic
#AD87F0 #F08795 #CAF087 #87F0E1
square
#AD87F0 #F08795 #CAF087 #87F0E1
split-complementary
#AD87F0 #F0E187 #95F087
monochromatic
#631CE1 #8851E9 #AD87F0 #D2BDF7 #ECE4FC

Accessibility & contrast

On white

2.80
#AD87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#AD87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F0
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F0#FFFFFF#000000##000000
##AD87F01.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF4
Deuteranopia (green-blind)
#709AED
Tritanopia (blue-blind)
#A09AB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ad87f0;
/* rgb */ color: rgb(173, 135, 240);
/* oklch */ color: oklch(70.2% 0.153 299.1);
Tailwind
colors: {
  custom: {
    50: '#c8aaf5',
    500: '#ad87f0',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f0;
$custom-light: #c8aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f0",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 261.714,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70207,
    "c": 0.15302,
    "h": 299.1
  },
  "luminance": 0.32503
}

Semantic roles & 50–950 ramp

primary
#AD87F0
secondary
#E9F3D8
accent
#DA0B8F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AD87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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