#A786DF#A786DF

#A786DF is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.6% C 0.132 H 300.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A786DF
RGBrgb(167, 134, 223)
HSLhsl(262, 58%, 70%)
HSVhsv(262, 40%, 87%)
CMYKcmyk(25.1%, 39.9%, 0%, 12.5%)
CIE-LABlab(62.16, 30.71, -40.85)
CIE-LCHlch(62.16, 51.11, 306.94°)
OKLaboklab(68.61% 0.0659 -0.1139)
OKLCHoklch(68.61% 0.132 300)
XYZxyz(37.7777, 30.5932, 73.7126)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786DF #BEDF86
analogous
#8692DF #A786DF #D386DF
triadic
#A786DF #DFA786 #86DFA7
tetradic
#A786DF #DF8692 #BEDF86 #86DFD3
square
#A786DF #DF8692 #BEDF86 #86DFD3
split-complementary
#A786DF #DFD386 #92DF86
monochromatic
#6431BA #8456D2 #A786DF #CAB6EC #EDE7F9

Accessibility & contrast

On white

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

On black

7.12
#A786DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786DF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786DF#FFFFFF#000000##000000
##A786DF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E2
Deuteranopia (green-blind)
#7596DD
Tritanopia (blue-blind)
#9D95A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a786df;
/* rgb */ color: rgb(167, 134, 223);
/* oklch */ color: oklch(68.6% 0.132 300.0);
Tailwind
colors: {
  custom: {
    50: '#c3a9e9',
    500: '#a786df',
    950: '#000000',
  },
}
SCSS
$custom: #a786df;
$custom-light: #c3a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a786df",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 262.247,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.68609,
    "c": 0.13154,
    "h": 300
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#A786DF
secondary
#E4EDD4
accent
#C62088
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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