#A786CC#A786CC

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

Color values

HEX#A786CC
RGBrgb(167, 134, 204)
HSLhsl(268, 41%, 66%)
HSVhsv(268, 34%, 80%)
CMYKcmyk(18.1%, 34.3%, 0%, 20%)
CIE-LABlab(61.33, 26.28, -31.52)
CIE-LCHlch(61.33, 41.04, 309.82°)
OKLaboklab(67.7% 0.0617 -0.087)
OKLCHoklch(67.7% 0.107 305.4)
XYZxyz(35.3584, 29.6255, 60.9706)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786CC #ABCC86
analogous
#8688CC #A786CC #CA86CC
triadic
#A786CC #CCA786 #86CCA7
tetradic
#A786CC #CC8688 #ABCC86 #86CCCA
square
#A786CC #CC8688 #ABCC86 #86CCCA
split-complementary
#A786CC #CCCA86 #88CC86
monochromatic
#694098 #885BBA #A786CC #C6B1DE #E6DCF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A786CC#FFFFFF#000000##000000
##A786CC1.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)
#7793CF
Deuteranopia (green-blind)
#7E94CA
Tritanopia (blue-blind)
#A290A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a786cc;
/* rgb */ color: rgb(167, 134, 204);
/* oklch */ color: oklch(67.7% 0.107 305.4);
Tailwind
colors: {
  custom: {
    50: '#c2a9db',
    500: '#a786cc',
    950: '#000000',
  },
}
SCSS
$custom: #a786cc;
$custom-light: #c2a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#a786cc",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 268.286,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67703,
    "c": 0.10669,
    "h": 305.4
  },
  "luminance": 0.29625
}

Semantic roles & 50–950 ramp

primary
#A786CC
secondary
#D8E2CB
accent
#B43276
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A786CC

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

Preview Lab → · Contrast checker → · Palette generator →

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