#A787CA#A787CA

#A787CA is a light, moderate violet. Relative luminance 0.298; OKLCH L 67.8% C 0.102 H 305.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A787CA
RGBrgb(167, 135, 202)
HSLhsl(269, 39%, 66%)
HSVhsv(269, 33%, 79%)
CMYKcmyk(17.3%, 33.2%, 0%, 20.8%)
CIE-LABlab(61.49, 25.26, -30.15)
CIE-LCHlch(61.49, 39.34, 309.96°)
OKLaboklab(67.8% 0.0598 -0.0831)
OKLCHoklch(67.8% 0.102 305.7)
XYZxyz(35.2589, 29.8079, 59.7617)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787CA #AACA87
analogous
#8788CA #A787CA #C887CA
triadic
#A787CA #CAA787 #87CAA7
tetradic
#A787CA #CA8788 #AACA87 #87CAC8
square
#A787CA #CA8788 #AACA87 #87CAC8
split-complementary
#A787CA #CAC887 #88CA87
monochromatic
#694295 #885DB7 #A787CA #C6B1DD #E5DCEF

Accessibility & contrast

On white

3.02
#A787CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A787CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A787CA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787CA#FFFFFF#000000##000000
##A787CA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#A2919F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a787ca;
/* rgb */ color: rgb(167, 135, 202);
/* oklch */ color: oklch(67.8% 0.102 305.7);
Tailwind
colors: {
  custom: {
    50: '#c2aada',
    500: '#a787ca',
    950: '#000000',
  },
}
SCSS
$custom: #a787ca;
$custom-light: #c2aada;
$custom-dark: #000000;
JSON
{
  "hex": "#a787ca",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 268.657,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.10237,
    "h": 305.7
  },
  "luminance": 0.29808
}

Semantic roles & 50–950 ramp

primary
#A787CA
secondary
#D7E1CB
accent
#B23476
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121015
muted
#817F83

Preview Lab

Preview with #A787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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