#A786CB#A786CB

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

Color values

HEX#A786CB
RGBrgb(167, 134, 203)
HSLhsl(269, 40%, 66%)
HSVhsv(269, 34%, 80%)
CMYKcmyk(17.7%, 34%, 0%, 20.4%)
CIE-LABlab(61.29, 26.06, -31.02)
CIE-LCHlch(61.29, 40.51, 310.03°)
OKLaboklab(67.66% 0.0615 -0.0856)
OKLCHoklch(67.66% 0.105 305.7)
XYZxyz(35.2388, 29.5777, 60.3410)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A786CB #AACB86
analogous
#8687CB #A786CB #C986CB
triadic
#A786CB #CBA786 #86CBA7
tetradic
#A786CB #CB8687 #AACB86 #86CBC9
square
#A786CB #CB8687 #AACB86 #86CBC9
split-complementary
#A786CB #CBC986 #87CB86
monochromatic
#694196 #885BB9 #A786CB #C6B1DD #E5DCF0

Accessibility & contrast

On white

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

On black

6.92
#A786CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A786CB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A786CB#FFFFFF#000000##000000
##A786CB1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a786cb;
/* rgb */ color: rgb(167, 134, 203);
/* oklch */ color: oklch(67.7% 0.105 305.7);
Tailwind
colors: {
  custom: {
    50: '#c2a9db',
    500: '#a786cb',
    950: '#000000',
  },
}
SCSS
$custom: #a786cb;
$custom-light: #c2a9db;
$custom-dark: #000000;
JSON
{
  "hex": "#a786cb",
  "rgb": {
    "r": 167,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 268.696,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67658,
    "c": 0.10539,
    "h": 305.7
  },
  "luminance": 0.29577
}

Semantic roles & 50–950 ramp

primary
#A786CB
secondary
#D7E2CB
accent
#B33376
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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