#A786EA#A786EA

#A786EA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.146 H 297.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A786EA
RGBrgb(167, 134, 234)
HSLhsl(260, 70%, 72%)
HSVhsv(260, 43%, 92%)
CMYKcmyk(28.6%, 42.7%, 0%, 8.2%)
CIE-LABlab(62.68, 33.38, -46.14)
CIE-LCHlch(62.68, 56.95, 305.89°)
OKLaboklab(69.17% 0.0678 -0.1292)
OKLCHoklch(69.17% 0.146 297.7)
XYZxyz(39.3092, 31.2058, 81.7783)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786EA #C9EA86
analogous
#8697EA #A786EA #D986EA
triadic
#A786EA #EAA786 #86EAA7
tetradic
#A786EA #EA8697 #C9EA86 #86EAD9
square
#A786EA #EA8697 #C9EA86 #86EAD9
split-complementary
#A786EA #EAD986 #97EA86
monochromatic
#5D24D1 #8152E1 #A786EA #CDBAF3 #ECE5FA

Accessibility & contrast

On white

2.90
#A786EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A786EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786EA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786EA#FFFFFF#000000##000000
##A786EA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#6F97E7
Tritanopia (blue-blind)
#9998AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a786ea;
/* rgb */ color: rgb(167, 134, 234);
/* oklch */ color: oklch(69.2% 0.146 297.7);
Tailwind
colors: {
  custom: {
    50: '#c3a9f1',
    500: '#a786ea',
    950: '#000000',
  },
}
SCSS
$custom: #a786ea;
$custom-light: #c3a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a786ea",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 259.8,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69171,
    "c": 0.14592,
    "h": 297.7
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#A786EA
secondary
#EAF2D9
accent
#D21393
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A786EA

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

Preview Lab → · Contrast checker → · Palette generator →

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