#A787BF#A787BF

#A787BF is a light, moderate violet. Relative luminance 0.293; OKLCH L 67.3% C 0.088 H 310.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A787BF
RGBrgb(167, 135, 191)
HSLhsl(274, 30%, 64%)
HSVhsv(274, 29%, 75%)
CMYKcmyk(12.6%, 29.3%, 0%, 25.1%)
CIE-LABlab(61.05, 22.83, -24.63)
CIE-LCHlch(61.05, 33.58, 312.84°)
OKLaboklab(67.32% 0.0568 -0.0674)
OKLCHoklch(67.32% 0.088 310.1)
XYZxyz(34.0026, 29.3054, 53.1453)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787BF #9FBF87
analogous
#8B87BF #A787BF #BF87BB
triadic
#A787BF #BFA787 #87BFA7
tetradic
#A787BF #BF8B87 #9FBF87 #87BBBF
square
#A787BF #BF8B87 #9FBF87 #87BBBF
split-complementary
#A787BF #BBBF87 #87BF8B
monochromatic
#6A4785 #8A5FAA #A787BF #C4AFD4 #E2D7EA

Accessibility & contrast

On white

3.06
#A787BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A787BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787BF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787BF#FFFFFF#000000##000000
##A787BF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#8494BD
Tritanopia (blue-blind)
#A48E9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a787bf;
/* rgb */ color: rgb(167, 135, 191);
/* oklch */ color: oklch(67.3% 0.088 310.1);
Tailwind
colors: {
  custom: {
    50: '#c1aad2',
    500: '#a787bf',
    950: '#000000',
  },
}
SCSS
$custom: #a787bf;
$custom-light: #c1aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#a787bf",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 274.286,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67318,
    "c": 0.08817,
    "h": 310.1
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

primary
#A787BF
secondary
#CFDBC7
accent
#A93C6B
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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