#A87BFB#A87BFB

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

Color values

HEX#A87BFB
RGBrgb(168, 123, 251)
HSLhsl(261, 94%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.1%, 51%, 0%, 1.6%)
CIE-LABlab(61.18, 44.00, -57.90)
CIE-LCHlch(61.18, 72.72, 307.23°)
OKLaboklab(68.36% 0.0852 -0.1635)
OKLCHoklch(68.36% 0.184 297.5)
XYZxyz(40.6397, 29.4553, 94.7924)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BFB #CEFB7B
analogous
#7B8EFB #A87BFB #E87BFB
triadic
#A87BFB #FBA87B #7BFBA8
tetradic
#A87BFB #FB7B8E #CEFB7B #7BFBE8
square
#A87BFB #FB7B8E #CEFB7B #7BFBE8
split-complementary
#A87BFB #FBE87B #8EFB7B
monochromatic
#5B07F4 #8140F9 #A87BFB #CFB6FD #EBE1FE

Accessibility & contrast

On white

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

On black

6.89
#A87BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BFB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BFB#FFFFFF#000000##000000
##A87BFB1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#9694B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87bfb;
/* rgb */ color: rgb(168, 123, 251);
/* oklch */ color: oklch(68.4% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5a2fd',
    500: '#a87bfb',
    950: '#000000',
  },
}
SCSS
$custom: #a87bfb;
$custom-light: #c5a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bfb",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 261.094,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68355,
    "c": 0.1844,
    "h": 297.5
  },
  "luminance": 0.29456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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