#A287EF#A287EF

#A287EF is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.2% C 0.150 H 294.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A287EF
RGBrgb(162, 135, 239)
HSLhsl(256, 76%, 73%)
HSVhsv(256, 44%, 94%)
CMYKcmyk(32.2%, 43.5%, 0%, 6.3%)
CIE-LABlab(62.71, 32.72, -48.89)
CIE-LCHlch(62.71, 58.83, 303.80°)
OKLaboklab(69.16% 0.0613 -0.1373)
OKLCHoklch(69.16% 0.15 294.1)
XYZxyz(39.1403, 31.2406, 85.6125)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A287EF #D4EF87
analogous
#87A0EF #A287EF #D687EF
triadic
#A287EF #EFA287 #87EFA2
tetradic
#A287EF #EF87A0 #D4EF87 #87EFD6
square
#A287EF #EF87A0 #D4EF87 #87EFD6
split-complementary
#A287EF #EFD687 #A0EF87
monochromatic
#501EDE #7851E8 #A287EF #CCBDF6 #EAE4FB

Accessibility & contrast

On white

2.90
#A287EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#A287EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A287EF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A287EF#FFFFFF#000000##000000
##A287EF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6A96EC
Tritanopia (blue-blind)
#909AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a287ef;
/* rgb */ color: rgb(162, 135, 239);
/* oklch */ color: oklch(69.2% 0.150 294.1);
Tailwind
colors: {
  custom: {
    50: '#c0aaf5',
    500: '#a287ef',
    950: '#000000',
  },
}
SCSS
$custom: #a287ef;
$custom-light: #c0aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a287ef",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 255.577,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.15041,
    "h": 294.1
  },
  "luminance": 0.31241
}

Semantic roles & 50–950 ramp

primary
#A287EF
secondary
#ECF3D8
accent
#D90DA4
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A287EF

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

Preview Lab → · Contrast checker → · Palette generator →

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