#A786FF#A786FF

#A786FF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.173 H 294.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A786FF
RGBrgb(167, 134, 255)
HSLhsl(256, 100%, 76%)
HSVhsv(256, 47%, 100%)
CMYKcmyk(34.5%, 47.5%, 0%, 0%)
CIE-LABlab(63.74, 38.65, -56.02)
CIE-LCHlch(63.74, 68.06, 304.60°)
OKLaboklab(70.31% 0.0706 -0.158)
OKLCHoklch(70.31% 0.173 294.1)
XYZxyz(42.5068, 32.4849, 98.6190)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786FF #DEFF86
analogous
#86A2FF #A786FF #E486FF
triadic
#A786FF #FFA786 #86FFA7
tetradic
#A786FF #FF86A2 #DEFF86 #86FFE4
square
#A786FF #FF86A2 #DEFF86 #86FFE4
split-complementary
#A786FF #FFE486 #A2FF86
monochromatic
#4E0CFF #7A49FF #A786FF #D4C3FF #E9E0FF

Accessibility & contrast

On white

2.80
#A786FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#A786FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786FF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786FF#FFFFFF#000000##000000
##A786FF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#929DB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a786ff;
/* rgb */ color: rgb(167, 134, 255);
/* oklch */ color: oklch(70.3% 0.173 294.1);
Tailwind
colors: {
  custom: {
    50: '#c5aaff',
    500: '#a786ff',
    950: '#000000',
  },
}
SCSS
$custom: #a786ff;
$custom-light: #c5aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a786ff",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 256.364,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70313,
    "c": 0.17308,
    "h": 294.1
  },
  "luminance": 0.32486
}

Semantic roles & 50–950 ramp

primary
#A786FF
secondary
#EEF7D4
accent
#E600A7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A786FF

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

Preview Lab → · Contrast checker → · Palette generator →

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