#A787BE#A787BE

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

Color values

HEX#A787BE
RGBrgb(167, 135, 190)
HSLhsl(275, 30%, 64%)
HSVhsv(275, 29%, 75%)
CMYKcmyk(12.1%, 28.9%, 0%, 25.5%)
CIE-LABlab(61.01, 22.62, -24.12)
CIE-LCHlch(61.01, 33.06, 313.16°)
OKLaboklab(67.27% 0.0566 -0.066)
OKLCHoklch(67.27% 0.087 310.6)
XYZxyz(33.8930, 29.2615, 52.5678)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787BE #9EBE87
analogous
#8B87BE #A787BE #BE87B9
triadic
#A787BE #BEA787 #87BEA7
tetradic
#A787BE #BE8B87 #9EBE87 #87B9BE
square
#A787BE #BE8B87 #9EBE87 #87B9BE
split-complementary
#A787BE #B9BE87 #87BE8B
monochromatic
#6A4783 #8A5FA8 #A787BE #C4AFD4 #E1D6E9

Accessibility & contrast

On white

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

On black

6.85
#A787BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787BE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787BE#FFFFFF#000000##000000
##A787BE1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92C0
Deuteranopia (green-blind)
#8594BC
Tritanopia (blue-blind)
#A58E9B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a787be;
/* rgb */ color: rgb(167, 135, 190);
/* oklch */ color: oklch(67.3% 0.087 310.6);
Tailwind
colors: {
  custom: {
    50: '#c1aad1',
    500: '#a787be',
    950: '#000000',
  },
}
SCSS
$custom: #a787be;
$custom-light: #c1aad1;
$custom-dark: #000000;
JSON
{
  "hex": "#a787be",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 274.909,
    "s": 29.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67275,
    "c": 0.08689,
    "h": 310.6
  },
  "luminance": 0.29261
}

Semantic roles & 50–950 ramp

primary
#A787BE
secondary
#CFDAC7
accent
#A83D6A
background
#FBFAFC
surface
#F7F4F9
border
#D0CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #A787BE

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

Preview Lab → · Contrast checker → · Palette generator →

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