#A87DCF#A87DCF

#A87DCF is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.3% C 0.126 H 307.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A87DCF
RGBrgb(168, 125, 207)
HSLhsl(271, 46%, 65%)
HSVhsv(271, 40%, 81%)
CMYKcmyk(18.8%, 39.6%, 0%, 18.8%)
CIE-LABlab(59.43, 32.36, -36.16)
CIE-LCHlch(59.43, 48.53, 311.83°)
OKLaboklab(66.33% 0.0767 -0.1003)
OKLCHoklch(66.33% 0.126 307.4)
XYZxyz(34.7424, 27.4974, 62.4966)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DCF #A4CF7D
analogous
#7F7DCF #A87DCF #CF7DCD
triadic
#A87DCF #CFA87D #7DCFA8
tetradic
#A87DCF #CF7F7D #A4CF7D #7DCDCF
square
#A87DCF #CF7F7D #A4CF7D #7DCDCF
split-complementary
#A87DCF #CDCF7D #7DCF7F
monochromatic
#6B3999 #8A50BE #A87DCF #C6AAE0 #E4D6F0

Accessibility & contrast

On white

3.23
#A87DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A87DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DCF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DCF#FFFFFF#000000##000000
##A87DCF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD2
Deuteranopia (green-blind)
#7590CD
Tritanopia (blue-blind)
#A38A9C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87dcf;
/* rgb */ color: rgb(168, 125, 207);
/* oklch */ color: oklch(66.3% 0.126 307.4);
Tailwind
colors: {
  custom: {
    50: '#c3a3de',
    500: '#a87dcf',
    950: '#000000',
  },
}
SCSS
$custom: #a87dcf;
$custom-light: #c3a3de;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dcf",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 271.463,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.12622,
    "h": 307.4
  },
  "luminance": 0.27497
}

Semantic roles & 50–950 ramp

primary
#A87DCF
secondary
#D3E2C6
accent
#B92C6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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