#A786CD#A786CD

#A786CD is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.7% C 0.108 H 305.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A786CD
RGBrgb(167, 134, 205)
HSLhsl(268, 42%, 66%)
HSVhsv(268, 35%, 80%)
CMYKcmyk(18.5%, 34.6%, 0%, 19.6%)
CIE-LABlab(61.37, 26.51, -32.02)
CIE-LCHlch(61.37, 41.57, 309.62°)
OKLaboklab(67.75% 0.062 -0.0884)
OKLCHoklch(67.75% 0.108 305)
XYZxyz(35.4787, 29.6736, 61.6043)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786CD #ACCD86
analogous
#8689CD #A786CD #CA86CD
triadic
#A786CD #CDA786 #86CDA7
tetradic
#A786CD #CD8689 #ACCD86 #86CDCA
square
#A786CD #CD8689 #ACCD86 #86CDCA
split-complementary
#A786CD #CDCA86 #89CD86
monochromatic
#693F99 #885BBB #A786CD #C6B1DF #E6DDF1

Accessibility & contrast

On white

3.03
#A786CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A786CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786CD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786CD#FFFFFF#000000##000000
##A786CD1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#7E94CB
Tritanopia (blue-blind)
#A191A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a786cd;
/* rgb */ color: rgb(167, 134, 205);
/* oklch */ color: oklch(67.7% 0.108 305.0);
Tailwind
colors: {
  custom: {
    50: '#c2a9dc',
    500: '#a786cd',
    950: '#000000',
  },
}
SCSS
$custom: #a786cd;
$custom-light: #c2a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a786cd",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 267.887,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.108,
    "h": 305
  },
  "luminance": 0.29673
}

Semantic roles & 50–950 ramp

primary
#A786CD
secondary
#D8E3CC
accent
#B53177
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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