#A87EEF#A87EEF

#A87EEF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.165 H 299.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A87EEF
RGBrgb(168, 126, 239)
HSLhsl(262, 78%, 72%)
HSVhsv(262, 47%, 94%)
CMYKcmyk(29.7%, 47.3%, 0%, 6.3%)
CIE-LABlab(61.20, 39.37, -51.24)
CIE-LCHlch(61.20, 64.62, 307.53°)
OKLaboklab(68.16% 0.0803 -0.144)
OKLCHoklch(68.16% 0.165 299.1)
XYZxyz(39.1856, 29.4782, 85.2700)
Luminance0.2948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EEF #C5EF7E
analogous
#7E8DEF #A87EEF #E17EEF
triadic
#A87EEF #EFA87E #7EEFA8
tetradic
#A87EEF #EF7E8D #C5EF7E #7EEFE1
square
#A87EEF #EF7E8D #C5EF7E #7EEFE1
split-complementary
#A87EEF #EFE17E #8DEF7E
monochromatic
#611BD8 #8348E8 #A87EEF #CDB4F6 #EDE4FC

Accessibility & contrast

On white

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

On black

6.90
#A87EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EEF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EEF#FFFFFF#000000##000000
##A87EEF1.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#9A93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87eef;
/* rgb */ color: rgb(168, 126, 239);
/* oklch */ color: oklch(68.2% 0.165 299.1);
Tailwind
colors: {
  custom: {
    50: '#c5a4f5',
    500: '#a87eef',
    950: '#000000',
  },
}
SCSS
$custom: #a87eef;
$custom-light: #c5a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eef",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 262.301,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68162,
    "c": 0.16492,
    "h": 299.1
  },
  "luminance": 0.29479
}

Semantic roles & 50–950 ramp

primary
#A87EEF
secondary
#E8F3D6
accent
#DA0B8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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