#A787BB#A787BB

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

Color values

HEX#A787BB
RGBrgb(167, 135, 187)
HSLhsl(277, 28%, 63%)
HSVhsv(277, 28%, 73%)
CMYKcmyk(10.7%, 27.8%, 0%, 26.7%)
CIE-LABlab(60.90, 21.97, -22.60)
CIE-LCHlch(60.90, 31.52, 314.20°)
OKLaboklab(67.15% 0.0557 -0.0617)
OKLCHoklch(67.15% 0.083 312.1)
XYZxyz(33.5685, 29.1317, 50.8587)
Luminance0.2913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787BB #9BBB87
analogous
#8D87BB #A787BB #BB87B5
triadic
#A787BB #BBA787 #87BBA7
tetradic
#A787BB #BB8D87 #9BBB87 #87B5BB
square
#A787BB #BB8D87 #9BBB87 #87B5BB
split-complementary
#A787BB #B5BB87 #87BB8D
monochromatic
#6A487F #8A60A5 #A787BB #C4AED1 #E0D5E7

Accessibility & contrast

On white

3.08
#A787BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A787BB#FFFFFF#000000##000000
##A787BB1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BD
Deuteranopia (green-blind)
#8694B9
Tritanopia (blue-blind)
#A58E99
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a787bb;
/* rgb */ color: rgb(167, 135, 187);
/* oklch */ color: oklch(67.2% 0.083 312.1);
Tailwind
colors: {
  custom: {
    50: '#c1aacf',
    500: '#a787bb',
    950: '#000000',
  },
}
SCSS
$custom: #a787bb;
$custom-light: #c1aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#a787bb",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 276.923,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6715,
    "c": 0.08309,
    "h": 312.1
  },
  "luminance": 0.29131
}

Semantic roles & 50–950 ramp

primary
#A787BB
secondary
#CDD8C6
accent
#A63F67
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A787BB

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

Preview Lab → · Contrast checker → · Palette generator →

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