#A87BFC#A87BFC

#A87BFC is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.4% C 0.186 H 297.4°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A87BFC
RGBrgb(168, 123, 252)
HSLhsl(261, 96%, 74%)
HSVhsv(261, 51%, 99%)
CMYKcmyk(33.3%, 51.2%, 0%, 1.2%)
CIE-LABlab(61.24, 44.25, -58.36)
CIE-LCHlch(61.24, 73.24, 307.17°)
OKLaboklab(68.41% 0.0853 -0.1649)
OKLCHoklch(68.41% 0.186 297.4)
XYZxyz(40.7977, 29.5185, 95.6248)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BFC #CFFC7B
analogous
#7B8EFC #A87BFC #E87BFC
triadic
#A87BFC #FCA87B #7BFCA8
tetradic
#A87BFC #FC7B8E #CFFC7B #7BFCE8
square
#A87BFC #FC7B8E #CFFC7B #7BFCE8
split-complementary
#A87BFC #FCE87B #8EFC7B
monochromatic
#5A06F7 #813FFB #A87BFC #CFB7FD #EBE1FE

Accessibility & contrast

On white

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

On black

6.90
#A87BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BFC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BFC#FFFFFF#000000##000000
##A87BFC1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#9594B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87bfc;
/* rgb */ color: rgb(168, 123, 252);
/* oklch */ color: oklch(68.4% 0.186 297.4);
Tailwind
colors: {
  custom: {
    50: '#c6a2fe',
    500: '#a87bfc',
    950: '#000000',
  },
}
SCSS
$custom: #a87bfc;
$custom-light: #c6a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bfc",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 260.93,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68414,
    "c": 0.18563,
    "h": 297.4
  },
  "luminance": 0.29519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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