#A886E5#A886E5

#A886E5 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.140 H 299.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A886E5
RGBrgb(168, 134, 229)
HSLhsl(261, 65%, 71%)
HSVhsv(261, 41%, 90%)
CMYKcmyk(26.6%, 41.5%, 0%, 10.2%)
CIE-LABlab(62.53, 32.44, -43.59)
CIE-LCHlch(62.53, 54.34, 306.65°)
OKLaboklab(69% 0.0681 -0.1218)
OKLCHoklch(69% 0.14 299.2)
XYZxyz(38.8131, 31.0319, 78.0585)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A886E5 #C3E586
analogous
#8693E5 #A886E5 #D786E5
triadic
#A886E5 #E5A886 #86E5A8
tetradic
#A886E5 #E58693 #C3E586 #86E5D7
square
#A886E5 #E58693 #C3E586 #86E5D7
split-complementary
#A886E5 #E5D786 #93E586
monochromatic
#622BC6 #8454DA #A886E5 #CCB8F0 #EDE6FA

Accessibility & contrast

On white

2.91
#A886E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A886E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A886E5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A886E5#FFFFFF#000000##000000
##A886E51.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#7396E3
Tritanopia (blue-blind)
#9C96AB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a886e5;
/* rgb */ color: rgb(168, 134, 229);
/* oklch */ color: oklch(69.0% 0.140 299.2);
Tailwind
colors: {
  custom: {
    50: '#c4a9ed',
    500: '#a886e5',
    950: '#000000',
  },
}
SCSS
$custom: #a886e5;
$custom-light: #c4a9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a886e5",
  "rgb": {
    "r": 168,
    "g": 134,
    "b": 229
  },
  "hsl": {
    "h": 261.474,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69004,
    "c": 0.13955,
    "h": 299.2
  },
  "luminance": 0.31032
}

Semantic roles & 50–950 ramp

primary
#A886E5
secondary
#E7F0D7
accent
#CC198C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A886E5

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

Preview Lab → · Contrast checker → · Palette generator →

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