#A87BFD#A87BFD

#A87BFD is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.187 H 297.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A87BFD
RGBrgb(168, 123, 253)
HSLhsl(261, 97%, 74%)
HSVhsv(261, 51%, 99%)
CMYKcmyk(33.6%, 51.4%, 0%, 0.8%)
CIE-LABlab(61.29, 44.50, -58.82)
CIE-LCHlch(61.29, 73.76, 307.11°)
OKLaboklab(68.47% 0.0854 -0.1662)
OKLCHoklch(68.47% 0.187 297.2)
XYZxyz(40.9566, 29.5820, 96.4616)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BFD #D0FD7B
analogous
#7B8FFD #A87BFD #E97BFD
triadic
#A87BFD #FDA87B #7BFDA8
tetradic
#A87BFD #FD7B8F #D0FD7B #7BFDE9
square
#A87BFD #FD7B8F #D0FD7B #7BFDE9
split-complementary
#A87BFD #FDE97B #8FFD7B
monochromatic
#5904FA #803FFC #A87BFD #D0B7FE #EBE1FF

Accessibility & contrast

On white

3.04
#A87BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A87BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BFD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BFD#FFFFFF#000000##000000
##A87BFD1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5592FA
Tritanopia (blue-blind)
#9595B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87bfd;
/* rgb */ color: rgb(168, 123, 253);
/* oklch */ color: oklch(68.5% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#c6a2ff',
    500: '#a87bfd',
    950: '#000000',
  },
}
SCSS
$custom: #a87bfd;
$custom-light: #c6a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bfd",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 260.769,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68473,
    "c": 0.18687,
    "h": 297.2
  },
  "luminance": 0.29583
}

Semantic roles & 50–950 ramp

primary
#A87BFD
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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