#A87BFA#A87BFA

#A87BFA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.183 H 297.7°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A87BFA
RGBrgb(168, 123, 250)
HSLhsl(261, 93%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(32.8%, 50.8%, 0%, 2%)
CIE-LABlab(61.13, 43.75, -57.44)
CIE-LCHlch(61.13, 72.20, 307.30°)
OKLaboklab(68.3% 0.0852 -0.1622)
OKLCHoklch(68.3% 0.183 297.7)
XYZxyz(40.4825, 29.3924, 93.9644)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BFA #CDFA7B
analogous
#7B8DFA #A87BFA #E87BFA
triadic
#A87BFA #FAA87B #7BFAA8
tetradic
#A87BFA #FA7B8D #CDFA7B #7BFAE8
square
#A87BFA #FA7B8D #CDFA7B #7BFAE8
split-complementary
#A87BFA #FAE87B #8DFA7B
monochromatic
#5B09F1 #8140F8 #A87BFA #CFB6FC #ECE2FE

Accessibility & contrast

On white

3.05
#A87BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A87BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BFA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BFA#FFFFFF#000000##000000
##A87BFA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#9694AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87bfa;
/* rgb */ color: rgb(168, 123, 250);
/* oklch */ color: oklch(68.3% 0.183 297.7);
Tailwind
colors: {
  custom: {
    50: '#c5a2fc',
    500: '#a87bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a87bfa;
$custom-light: #c5a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bfa",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 261.26,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68296,
    "c": 0.18317,
    "h": 297.7
  },
  "luminance": 0.29393
}

Semantic roles & 50–950 ramp

primary
#A87BFA
secondary
#EAF6D5
accent
#E60094
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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