#A786CF#A786CF

#A786CF is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.8% C 0.111 H 304.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A786CF
RGBrgb(167, 134, 207)
HSLhsl(267, 43%, 67%)
HSVhsv(267, 35%, 81%)
CMYKcmyk(19.3%, 35.3%, 0%, 18.8%)
CIE-LABlab(61.46, 26.97, -33.01)
CIE-LCHlch(61.46, 42.62, 309.25°)
OKLaboklab(67.84% 0.0625 -0.0913)
OKLCHoklch(67.84% 0.111 304.4)
XYZxyz(35.7216, 29.7708, 62.8838)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786CF #AECF86
analogous
#868ACF #A786CF #CB86CF
triadic
#A786CF #CFA786 #86CFA7
tetradic
#A786CF #CF868A #AECF86 #86CFCB
square
#A786CF #CF868A #AECF86 #86CFCB
split-complementary
#A786CF #CFCB86 #8ACF86
monochromatic
#693E9D #875ABE #A786CF #C7B2E0 #E7DEF2

Accessibility & contrast

On white

3.02
#A786CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A786CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786CF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786CF#FFFFFF#000000##000000
##A786CF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D2
Deuteranopia (green-blind)
#7D94CD
Tritanopia (blue-blind)
#A191A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a786cf;
/* rgb */ color: rgb(167, 134, 207);
/* oklch */ color: oklch(67.8% 0.111 304.4);
Tailwind
colors: {
  custom: {
    50: '#c2a9de',
    500: '#a786cf',
    950: '#000000',
  },
}
SCSS
$custom: #a786cf;
$custom-light: #c2a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#a786cf",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 267.123,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.1106,
    "h": 304.4
  },
  "luminance": 0.29771
}

Semantic roles & 50–950 ramp

primary
#A786CF
secondary
#DAE4CD
accent
#B62F79
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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