#A786DC#A786DC

#A786DC is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.5% C 0.128 H 300.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A786DC
RGBrgb(167, 134, 220)
HSLhsl(263, 55%, 69%)
HSVhsv(263, 39%, 86%)
CMYKcmyk(24.1%, 39.1%, 0%, 13.7%)
CIE-LABlab(62.03, 30.00, -39.39)
CIE-LCHlch(62.03, 49.52, 307.29°)
OKLaboklab(68.46% 0.0653 -0.1097)
OKLCHoklch(68.46% 0.128 300.8)
XYZxyz(37.3769, 30.4329, 71.6013)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786DC #BBDC86
analogous
#8690DC #A786DC #D286DC
triadic
#A786DC #DCA786 #86DCA7
tetradic
#A786DC #DC8690 #BBDC86 #86DCD2
square
#A786DC #DC8690 #BBDC86 #86DCD2
split-complementary
#A786DC #DCD286 #90DC86
monochromatic
#6534B4 #8457CE #A786DC #CAB5EA #ECE5F7

Accessibility & contrast

On white

2.96
#A786DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A786DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786DC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786DC#FFFFFF#000000##000000
##A786DC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7795DA
Tritanopia (blue-blind)
#9D94A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a786dc;
/* rgb */ color: rgb(167, 134, 220);
/* oklch */ color: oklch(68.5% 0.128 300.8);
Tailwind
colors: {
  custom: {
    50: '#c3a9e7',
    500: '#a786dc',
    950: '#000000',
  },
}
SCSS
$custom: #a786dc;
$custom-light: #c3a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a786dc",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 263.023,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68461,
    "c": 0.12761,
    "h": 300.8
  },
  "luminance": 0.30433
}

Semantic roles & 50–950 ramp

primary
#A786DC
secondary
#E2EBD3
accent
#C32385
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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