#A786DB#A786DB

#A786DB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.4% C 0.126 H 301.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A786DB
RGBrgb(167, 134, 219)
HSLhsl(263, 54%, 69%)
HSVhsv(263, 39%, 86%)
CMYKcmyk(23.7%, 38.8%, 0%, 14.1%)
CIE-LABlab(61.98, 29.76, -38.91)
CIE-LCHlch(61.98, 48.98, 307.41°)
OKLaboklab(68.41% 0.0651 -0.1082)
OKLCHoklch(68.41% 0.126 301)
XYZxyz(37.2448, 30.3801, 70.9059)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786DB #BADB86
analogous
#8690DB #A786DB #D286DB
triadic
#A786DB #DBA786 #86DBA7
tetradic
#A786DB #DB8690 #BADB86 #86DBD2
square
#A786DB #DB8690 #BADB86 #86DBD2
split-complementary
#A786DB #DBD286 #90DB86
monochromatic
#6535B2 #8557CD #A786DB #C9B5E9 #ECE4F7

Accessibility & contrast

On white

2.97
#A786DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A786DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A786DB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786DB#FFFFFF#000000##000000
##A786DB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#9E94A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a786db;
/* rgb */ color: rgb(167, 134, 219);
/* oklch */ color: oklch(68.4% 0.126 301.0);
Tailwind
colors: {
  custom: {
    50: '#c2a9e6',
    500: '#a786db',
    950: '#000000',
  },
}
SCSS
$custom: #a786db;
$custom-light: #c2a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a786db",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 263.294,
    "s": 54.14,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68412,
    "c": 0.1263,
    "h": 301
  },
  "luminance": 0.3038
}

Semantic roles & 50–950 ramp

primary
#A786DB
secondary
#E1EBD2
accent
#C22484
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A786DB

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

Preview Lab → · Contrast checker → · Palette generator →

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