#A287CD#A287CD

#A287CD is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.5% C 0.105 H 301.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A287CD
RGBrgb(162, 135, 205)
HSLhsl(263, 41%, 67%)
HSVhsv(263, 34%, 80%)
CMYKcmyk(21%, 34.1%, 0%, 19.6%)
CIE-LABlab(61.15, 24.41, -32.40)
CIE-LCHlch(61.15, 40.57, 307.00°)
OKLaboklab(67.47% 0.0547 -0.0896)
OKLCHoklch(67.47% 0.105 301.4)
XYZxyz(34.5814, 29.4171, 61.6020)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287CD #B2CD87
analogous
#878FCD #A287CD #C587CD
triadic
#A287CD #CDA287 #87CDA2
tetradic
#A287CD #CD878F #B2CD87 #87CDC5
square
#A287CD #CD878F #B2CD87 #87CDC5
split-complementary
#A287CD #CDC587 #8FCD87
monochromatic
#63409A #815CBB #A287CD #C3B2DF #E5DDF1

Accessibility & contrast

On white

3.05
#A287CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A287CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287CD
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287CD#FFFFFF#000000##000000
##A287CD1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#7C93CB
Tritanopia (blue-blind)
#9B92A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a287cd;
/* rgb */ color: rgb(162, 135, 205);
/* oklch */ color: oklch(67.5% 0.105 301.4);
Tailwind
colors: {
  custom: {
    50: '#beaadc',
    500: '#a287cd',
    950: '#000000',
  },
}
SCSS
$custom: #a287cd;
$custom-light: #beaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#a287cd",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 263.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.10498,
    "h": 301.4
  },
  "luminance": 0.29417
}

Semantic roles & 50–950 ramp

primary
#A287CD
secondary
#DAE3CD
accent
#B43182
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A287CD

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

Preview Lab → · Contrast checker → · Palette generator →

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