#A787BC#A787BC

#A787BC is a light, moderate violet. Relative luminance 0.292; OKLCH L 67.2% C 0.084 H 311.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A787BC
RGBrgb(167, 135, 188)
HSLhsl(276, 28%, 63%)
HSVhsv(276, 28%, 74%)
CMYKcmyk(11.2%, 28.2%, 0%, 26.3%)
CIE-LABlab(60.94, 22.19, -23.10)
CIE-LCHlch(60.94, 32.03, 313.84°)
OKLaboklab(67.19% 0.056 -0.0631)
OKLCHoklch(67.19% 0.084 311.6)
XYZxyz(33.6759, 29.1747, 51.4244)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787BC #9CBC87
analogous
#8C87BC #A787BC #BC87B6
triadic
#A787BC #BCA787 #87BCA7
tetradic
#A787BC #BC8C87 #9CBC87 #87B6BC
square
#A787BC #BC8C87 #9CBC87 #87B6BC
split-complementary
#A787BC #B6BC87 #87BC8C
monochromatic
#6A4881 #8A60A6 #A787BC #C4AED2 #E1D6E8

Accessibility & contrast

On white

3.07
#A787BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A787BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787BC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787BC#FFFFFF#000000##000000
##A787BC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BE
Deuteranopia (green-blind)
#8594BA
Tritanopia (blue-blind)
#A58E9A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a787bc;
/* rgb */ color: rgb(167, 135, 188);
/* oklch */ color: oklch(67.2% 0.084 311.6);
Tailwind
colors: {
  custom: {
    50: '#c1aad0',
    500: '#a787bc',
    950: '#000000',
  },
}
SCSS
$custom: #a787bc;
$custom-light: #c1aad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a787bc",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 276.226,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67192,
    "c": 0.08435,
    "h": 311.6
  },
  "luminance": 0.29174
}

Semantic roles & 50–950 ramp

primary
#A787BC
secondary
#CDD9C6
accent
#A73F68
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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