#AD87F7#AD87F7

#AD87F7 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.6% C 0.162 H 297.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AD87F7
RGBrgb(173, 135, 247)
HSLhsl(260, 88%, 75%)
HSVhsv(260, 45%, 97%)
CMYKcmyk(30%, 45.3%, 0%, 3.1%)
CIE-LABlab(64.10, 37.62, -51.03)
CIE-LCHlch(64.10, 63.40, 306.40°)
OKLaboklab(70.58% 0.0754 -0.1433)
OKLCHoklch(70.58% 0.162 297.8)
XYZxyz(42.6820, 32.9271, 92.0845)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD87F7 #D1F787
analogous
#8799F7 #AD87F7 #E587F7
triadic
#AD87F7 #F7AD87 #87F7AD
tetradic
#AD87F7 #F78799 #D1F787 #87F7E5
square
#AD87F7 #F78799 #D1F787 #87F7E5
split-complementary
#AD87F7 #F7E587 #99F787
monochromatic
#5F14EF #864EF3 #AD87F7 #D4C0FB #EBE2FD

Accessibility & contrast

On white

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

On black

7.59
#AD87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD87F7
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD87F7#FFFFFF#000000##000000
##AD87F71.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#9E9BB3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ad87f7;
/* rgb */ color: rgb(173, 135, 247);
/* oklch */ color: oklch(70.6% 0.162 297.8);
Tailwind
colors: {
  custom: {
    50: '#c8aafa',
    500: '#ad87f7',
    950: '#000000',
  },
}
SCSS
$custom: #ad87f7;
$custom-light: #c8aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ad87f7",
  "rgb": {
    "r": 173,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 260.357,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.70579,
    "c": 0.16195,
    "h": 297.8
  },
  "luminance": 0.32928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AD87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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