#A787CF#A787CF

#A787CF is a light, moderate violet. Relative luminance 0.300; OKLCH L 68.0% C 0.109 H 304.1°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A787CF
RGBrgb(167, 135, 207)
HSLhsl(267, 43%, 67%)
HSVhsv(267, 35%, 81%)
CMYKcmyk(19.3%, 34.8%, 0%, 18.8%)
CIE-LABlab(61.70, 26.40, -32.64)
CIE-LCHlch(61.70, 41.98, 308.97°)
OKLaboklab(68.02% 0.061 -0.0902)
OKLCHoklch(68.02% 0.109 304.1)
XYZxyz(35.8605, 30.0485, 62.9301)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A787CF #AFCF87
analogous
#878BCF #A787CF #CB87CF
triadic
#A787CF #CFA787 #87CFA7
tetradic
#A787CF #CF878B #AFCF87 #87CFCB
square
#A787CF #CF878B #AFCF87 #87CFCB
split-complementary
#A787CF #CFCB87 #8BCF87
monochromatic
#693F9D #875BBE #A787CF #C7B3E0 #E7DEF2

Accessibility & contrast

On white

3.00
#A787CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#A787CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A787CF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A787CF#FFFFFF#000000##000000
##A787CF1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D2
Deuteranopia (green-blind)
#7E95CD
Tritanopia (blue-blind)
#A192A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a787cf;
/* rgb */ color: rgb(167, 135, 207);
/* oklch */ color: oklch(68.0% 0.109 304.1);
Tailwind
colors: {
  custom: {
    50: '#c2aade',
    500: '#a787cf',
    950: '#000000',
  },
}
SCSS
$custom: #a787cf;
$custom-light: #c2aade;
$custom-dark: #000000;
JSON
{
  "hex": "#a787cf",
  "rgb": {
    "r": 167,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 266.667,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68024,
    "c": 0.10891,
    "h": 304.1
  },
  "luminance": 0.30048
}

Semantic roles & 50–950 ramp

primary
#A787CF
secondary
#DAE4CD
accent
#B6307A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A787CF

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

Preview Lab → · Contrast checker → · Palette generator →

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