#A87CFB#A87CFB

#A87CFB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.183 H 297.3°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A87CFB
RGBrgb(168, 124, 251)
HSLhsl(261, 94%, 74%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.1%, 50.6%, 0%, 1.6%)
CIE-LABlab(61.40, 43.45, -57.55)
CIE-LCHlch(61.40, 72.11, 307.05°)
OKLaboklab(68.52% 0.084 -0.1625)
OKLCHoklch(68.52% 0.183 297.3)
XYZxyz(40.7644, 29.7046, 94.8340)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CFB #CFFB7C
analogous
#7C8FFB #A87CFB #E77CFB
triadic
#A87CFB #FBA87C #7CFBA8
tetradic
#A87CFB #FB7C8F #CFFB7C #7CFBE7
square
#A87CFB #FB7C8F #CFFB7C #7CFBE7
split-complementary
#A87CFB #FBE77C #8FFB7C
monochromatic
#5A07F5 #8141F9 #A87CFB #CFB7FD #EBE1FE

Accessibility & contrast

On white

3.03
#A87CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A87CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CFB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CFB#FFFFFF#000000##000000
##A87CFB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#5893F8
Tritanopia (blue-blind)
#9695B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87cfb;
/* rgb */ color: rgb(168, 124, 251);
/* oklch */ color: oklch(68.5% 0.183 297.3);
Tailwind
colors: {
  custom: {
    50: '#c5a3fd',
    500: '#a87cfb',
    950: '#000000',
  },
}
SCSS
$custom: #a87cfb;
$custom-light: #c5a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cfb",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 260.787,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68516,
    "c": 0.18293,
    "h": 297.3
  },
  "luminance": 0.29705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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