#A287D0#A287D0

#A287D0 is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.6% C 0.109 H 300.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A287D0
RGBrgb(162, 135, 208)
HSLhsl(262, 44%, 67%)
HSVhsv(262, 35%, 82%)
CMYKcmyk(22.1%, 35.1%, 0%, 18.4%)
CIE-LABlab(61.28, 25.12, -33.89)
CIE-LCHlch(61.28, 42.18, 306.55°)
OKLaboklab(67.61% 0.0554 -0.0939)
OKLCHoklch(67.61% 0.109 300.5)
XYZxyz(34.9469, 29.5633, 63.5275)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287D0 #B5D087
analogous
#8790D0 #A287D0 #C787D0
triadic
#A287D0 #D0A287 #87D0A2
tetradic
#A287D0 #D08790 #B5D087 #87D0C7
square
#A287D0 #D08790 #B5D087 #87D0C7
split-complementary
#A287D0 #D0C787 #90D087
monochromatic
#623E9F #805BBF #A287D0 #C4B3E1 #E6DFF2

Accessibility & contrast

On white

3.04
#A287D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A287D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A287D0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287D0#FFFFFF#000000##000000
##A287D01.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D3
Deuteranopia (green-blind)
#7B94CE
Tritanopia (blue-blind)
#9A93A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a287d0;
/* rgb */ color: rgb(162, 135, 208);
/* oklch */ color: oklch(67.6% 0.109 300.5);
Tailwind
colors: {
  custom: {
    50: '#beaade',
    500: '#a287d0',
    950: '#000000',
  },
}
SCSS
$custom: #a287d0;
$custom-light: #beaade;
$custom-dark: #000000;
JSON
{
  "hex": "#a287d0",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 208
  },
  "hsl": {
    "h": 262.192,
    "s": 43.713,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67607,
    "c": 0.10901,
    "h": 300.5
  },
  "luminance": 0.29563
}

Semantic roles & 50–950 ramp

primary
#A287D0
secondary
#DCE5CE
accent
#B72F84
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A287D0

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

Preview Lab → · Contrast checker → · Palette generator →

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