#A87CFA#A87CFA

#A87CFA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.5% C 0.182 H 297.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A87CFA
RGBrgb(168, 124, 250)
HSLhsl(261, 93%, 73%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.8%, 50.4%, 0%, 2%)
CIE-LABlab(61.34, 43.20, -57.09)
CIE-LCHlch(61.34, 71.59, 307.12°)
OKLaboklab(68.46% 0.0839 -0.1611)
OKLCHoklch(68.46% 0.182 297.5)
XYZxyz(40.6072, 29.6418, 94.0060)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CFA #CEFA7C
analogous
#7C8FFA #A87CFA #E77CFA
triadic
#A87CFA #FAA87C #7CFAA8
tetradic
#A87CFA #FA7C8F #CEFA7C #7CFAE7
square
#A87CFA #FA7C8F #CEFA7C #7CFAE7
split-complementary
#A87CFA #FAE77C #8FFA7C
monochromatic
#5B09F2 #8141F8 #A87CFA #CFB7FC #EBE2FE

Accessibility & contrast

On white

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

On black

6.93
#A87CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CFA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CFA#FFFFFF#000000##000000
##A87CFA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E94FE
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#9694B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87cfa;
/* rgb */ color: rgb(168, 124, 250);
/* oklch */ color: oklch(68.5% 0.182 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5a3fc',
    500: '#a87cfa',
    950: '#000000',
  },
}
SCSS
$custom: #a87cfa;
$custom-light: #c5a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cfa",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 260.952,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68458,
    "c": 0.18169,
    "h": 297.5
  },
  "luminance": 0.29642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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