#A87DFF#A87DFF

#A87DFF is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.9% C 0.186 H 296.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A87DFF
RGBrgb(168, 125, 255)
HSLhsl(260, 100%, 75%)
HSVhsv(260, 51%, 100%)
CMYKcmyk(34.1%, 51%, 0%, 0%)
CIE-LABlab(61.84, 43.90, -59.05)
CIE-LCHlch(61.84, 73.59, 306.63°)
OKLaboklab(68.91% 0.083 -0.1669)
OKLCHoklch(68.91% 0.186 296.4)
XYZxyz(41.5275, 30.2114, 98.2318)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DFF #D4FF7D
analogous
#7D93FF #A87DFF #E97DFF
triadic
#A87DFF #FFA87D #7DFFA8
tetradic
#A87DFF #FF7D93 #D4FF7D #7DFFE9
square
#A87DFF #FF7D93 #D4FF7D #7DFFE9
split-complementary
#A87DFF #FFE97D #93FF7D
monochromatic
#5603FF #7F40FF #A87DFF #D1BAFF #EBE0FF

Accessibility & contrast

On white

2.98
#A87DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A87DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87DFF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DFF#FFFFFF#000000##000000
##A87DFF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#5694FC
Tritanopia (blue-blind)
#9497B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87dff;
/* rgb */ color: rgb(168, 125, 255);
/* oklch */ color: oklch(68.9% 0.186 296.4);
Tailwind
colors: {
  custom: {
    50: '#c6a3ff',
    500: '#a87dff',
    950: '#000000',
  },
}
SCSS
$custom: #a87dff;
$custom-light: #c6a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dff",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 259.846,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68913,
    "c": 0.18641,
    "h": 296.4
  },
  "luminance": 0.30212
}

Semantic roles & 50–950 ramp

primary
#A87DFF
secondary
#ECF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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