#A786CA#A786CA

#A786CA is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.6% C 0.104 H 306.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A786CA
RGBrgb(167, 134, 202)
HSLhsl(269, 39%, 66%)
HSVhsv(269, 34%, 79%)
CMYKcmyk(17.3%, 33.7%, 0%, 20.8%)
CIE-LABlab(61.25, 25.83, -30.52)
CIE-LCHlch(61.25, 39.99, 310.24°)
OKLaboklab(67.61% 0.0612 -0.0842)
OKLCHoklch(67.61% 0.104 306)
XYZxyz(35.1200, 29.5302, 59.7154)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786CA #A9CA86
analogous
#8687CA #A786CA #C986CA
triadic
#A786CA #CAA786 #86CAA7
tetradic
#A786CA #CA8687 #A9CA86 #86CAC9
square
#A786CA #CA8687 #A9CA86 #86CAC9
split-complementary
#A786CA #CAC986 #87CA86
monochromatic
#6A4195 #885BB7 #A786CA #C6B1DD #E5DBEF

Accessibility & contrast

On white

3.04
#A786CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A786CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786CA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786CA#FFFFFF#000000##000000
##A786CA1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#A2909F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a786ca;
/* rgb */ color: rgb(167, 134, 202);
/* oklch */ color: oklch(67.6% 0.104 306.0);
Tailwind
colors: {
  custom: {
    50: '#c2a9da',
    500: '#a786ca',
    950: '#000000',
  },
}
SCSS
$custom: #a786ca;
$custom-light: #c2a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#a786ca",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 269.118,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67612,
    "c": 0.10409,
    "h": 306
  },
  "luminance": 0.2953
}

Semantic roles & 50–950 ramp

primary
#A786CA
secondary
#D6E1CB
accent
#B23375
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #A786CA

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

Preview Lab → · Contrast checker → · Palette generator →

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