#A787CB#A787CB

#A787CB is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.8% C 0.104 H 305.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A787CB
RGBrgb(167, 135, 203)
HSLhsl(268, 40%, 66%)
HSVhsv(268, 33%, 80%)
CMYKcmyk(17.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(61.53, 25.49, -30.65)
CIE-LCHlch(61.53, 39.86, 309.75°)
OKLaboklab(67.84% 0.06 -0.0845)
OKLCHoklch(67.84% 0.104 305.4)
XYZxyz(35.3777, 29.8554, 60.3872)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787CB #ABCB87
analogous
#8789CB #A787CB #C987CB
triadic
#A787CB #CBA787 #87CBA7
tetradic
#A787CB #CB8789 #ABCB87 #87CBC9
square
#A787CB #CB8789 #ABCB87 #87CBC9
split-complementary
#A787CB #CBC987 #89CB87
monochromatic
#694196 #885CB8 #A787CB #C6B2DE #E6DCF0

Accessibility & contrast

On white

3.01
#A787CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A787CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787CB#FFFFFF#000000##000000
##A787CB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#A291A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a787cb;
/* rgb */ color: rgb(167, 135, 203);
/* oklch */ color: oklch(67.8% 0.104 305.4);
Tailwind
colors: {
  custom: {
    50: '#c2aadb',
    500: '#a787cb',
    950: '#000000',
  },
}
SCSS
$custom: #a787cb;
$custom-light: #c2aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a787cb",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 268.235,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.10367,
    "h": 305.4
  },
  "luminance": 0.29855
}

Semantic roles & 50–950 ramp

primary
#A787CB
secondary
#D8E2CC
accent
#B33377
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A787CB

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

Preview Lab → · Contrast checker → · Palette generator →

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