#A87BF7#A87BF7

#A87BF7 is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.1% C 0.179 H 298.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A87BF7
RGBrgb(168, 123, 247)
HSLhsl(262, 89%, 73%)
HSVhsv(262, 50%, 97%)
CMYKcmyk(32%, 50.2%, 0%, 3.1%)
CIE-LABlab(60.96, 43.01, -56.04)
CIE-LCHlch(60.96, 70.64, 307.50°)
OKLaboklab(68.12% 0.085 -0.1581)
OKLCHoklch(68.12% 0.179 298.3)
XYZxyz(40.0158, 29.2057, 91.5067)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF7 #CAF77B
analogous
#7B8CF7 #A87BF7 #E67BF7
triadic
#A87BF7 #F7A87B #7BF7A8
tetradic
#A87BF7 #F77B8C #CAF77B #7BF7E6
square
#A87BF7 #F77B8C #CAF77B #7BF7E6
split-complementary
#A87BF7 #F7E67B #8CF77B
monochromatic
#5E0EE9 #8241F4 #A87BF7 #CEB5FA #ECE2FD

Accessibility & contrast

On white

3.07
#A87BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A87BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF7
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF7#FFFFFF#000000##000000
##A87BF71.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#9793AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87bf7;
/* rgb */ color: rgb(168, 123, 247);
/* oklch */ color: oklch(68.1% 0.179 298.3);
Tailwind
colors: {
  custom: {
    50: '#c5a2fa',
    500: '#a87bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf7;
$custom-light: #c5a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf7",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 261.774,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68121,
    "c": 0.17947,
    "h": 298.3
  },
  "luminance": 0.29206
}

Semantic roles & 50–950 ramp

primary
#A87BF7
secondary
#EAF5D6
accent
#E50092
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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