#A287EA#A287EA

#A287EA is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.9% C 0.144 H 294.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A287EA
RGBrgb(162, 135, 234)
HSLhsl(256, 70%, 72%)
HSVhsv(256, 42%, 92%)
CMYKcmyk(30.8%, 42.3%, 0%, 8.2%)
CIE-LABlab(62.46, 31.46, -46.51)
CIE-LCHlch(62.46, 56.15, 304.07°)
OKLaboklab(68.9% 0.0606 -0.1304)
OKLCHoklch(68.9% 0.144 294.9)
XYZxyz(38.4119, 30.9493, 81.7760)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287EA #CFEA87
analogous
#879DEA #A287EA #D487EA
triadic
#A287EA #EAA287 #87EAA2
tetradic
#A287EA #EA879D #CFEA87 #87EAD4
square
#A287EA #EA879D #CFEA87 #87EAD4
split-complementary
#A287EA #EAD487 #9DEA87
monochromatic
#5425D2 #7A53E1 #A287EA #CABBF3 #EBE5FA

Accessibility & contrast

On white

2.92
#A287EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#A287EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A287EA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287EA#FFFFFF#000000##000000
##A287EA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#9299AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a287ea;
/* rgb */ color: rgb(162, 135, 234);
/* oklch */ color: oklch(68.9% 0.144 294.9);
Tailwind
colors: {
  custom: {
    50: '#c0aaf1',
    500: '#a287ea',
    950: '#000000',
  },
}
SCSS
$custom: #a287ea;
$custom-light: #c0aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a287ea",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 256.364,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.689,
    "c": 0.14379,
    "h": 294.9
  },
  "luminance": 0.3095
}

Semantic roles & 50–950 ramp

primary
#A287EA
secondary
#EBF2D9
accent
#D2139E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A287EA

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

Preview Lab → · Contrast checker → · Palette generator →

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