#A787CD#A787CD

#A787CD is a light, moderate violet. Relative luminance 0.300; OKLCH L 67.9% C 0.106 H 304.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A787CD
RGBrgb(167, 135, 205)
HSLhsl(267, 41%, 67%)
HSVhsv(267, 34%, 80%)
CMYKcmyk(18.5%, 34.1%, 0%, 19.6%)
CIE-LABlab(61.61, 25.94, -31.64)
CIE-LCHlch(61.61, 40.92, 309.35°)
OKLaboklab(67.93% 0.0605 -0.0874)
OKLCHoklch(67.93% 0.106 304.7)
XYZxyz(35.6176, 29.9513, 61.6506)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787CD #ADCD87
analogous
#878ACD #A787CD #CA87CD
triadic
#A787CD #CDA787 #87CDA7
tetradic
#A787CD #CD878A #ADCD87 #87CDCA
square
#A787CD #CD878A #ADCD87 #87CDCA
split-complementary
#A787CD #CDCA87 #8ACD87
monochromatic
#69409A #875CBB #A787CD #C7B2DF #E6DDF1

Accessibility & contrast

On white

3.00
#A787CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A787CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787CD
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787CD#FFFFFF#000000##000000
##A787CD1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#A192A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a787cd;
/* rgb */ color: rgb(167, 135, 205);
/* oklch */ color: oklch(67.9% 0.106 304.7);
Tailwind
colors: {
  custom: {
    50: '#c2aadc',
    500: '#a787cd',
    950: '#000000',
  },
}
SCSS
$custom: #a787cd;
$custom-light: #c2aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#a787cd",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 267.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67932,
    "c": 0.10629,
    "h": 304.7
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#A787CD
secondary
#D9E3CD
accent
#B43178
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A787CD

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

Preview Lab → · Contrast checker → · Palette generator →

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