#A786DE#A786DE

#A786DE is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.6% C 0.130 H 300.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A786DE
RGBrgb(167, 134, 222)
HSLhsl(263, 57%, 70%)
HSVhsv(263, 40%, 87%)
CMYKcmyk(24.8%, 39.6%, 0%, 12.9%)
CIE-LABlab(62.12, 30.48, -40.36)
CIE-LCHlch(62.12, 50.58, 307.05°)
OKLaboklab(68.56% 0.0657 -0.1125)
OKLCHoklch(68.56% 0.13 300.3)
XYZxyz(37.6433, 30.5395, 73.0046)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786DE #BDDE86
analogous
#8691DE #A786DE #D386DE
triadic
#A786DE #DEA786 #86DEA7
tetradic
#A786DE #DE8691 #BDDE86 #86DED3
square
#A786DE #DE8691 #BDDE86 #86DED3
split-complementary
#A786DE #DED386 #91DE86
monochromatic
#6432B8 #8456D1 #A786DE #CAB6EB #EDE6F8

Accessibility & contrast

On white

2.95
#A786DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A786DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786DE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786DE#FFFFFF#000000##000000
##A786DE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E1
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#9D95A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a786de;
/* rgb */ color: rgb(167, 134, 222);
/* oklch */ color: oklch(68.6% 0.130 300.3);
Tailwind
colors: {
  custom: {
    50: '#c3a9e8',
    500: '#a786de',
    950: '#000000',
  },
}
SCSS
$custom: #a786de;
$custom-light: #c3a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a786de",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 222
  },
  "hsl": {
    "h": 262.5,
    "s": 57.143,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.13023,
    "h": 300.3
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#A786DE
secondary
#E3ECD3
accent
#C52187
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A786DE

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

Preview Lab → · Contrast checker → · Palette generator →

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