#A286EF#A286EF

#A286EF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.152 H 294.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A286EF
RGBrgb(162, 134, 239)
HSLhsl(256, 77%, 73%)
HSVhsv(256, 44%, 94%)
CMYKcmyk(32.2%, 43.9%, 0%, 6.3%)
CIE-LABlab(62.48, 33.29, -49.26)
CIE-LCHlch(62.48, 59.45, 304.05°)
OKLaboklab(68.99% 0.0626 -0.1384)
OKLCHoklch(68.99% 0.152 294.4)
XYZxyz(39.0014, 30.9629, 85.5662)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286EF #D3EF86
analogous
#869EEF #A286EF #D686EF
triadic
#A286EF #EFA286 #86EFA2
tetradic
#A286EF #EF869E #D3EF86 #86EFD6
square
#A286EF #EF869E #D3EF86 #86EFD6
split-complementary
#A286EF #EFD686 #9EEF86
monochromatic
#501DDD #7850E8 #A286EF #CCBCF6 #EAE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A286EF#FFFFFF#000000##000000
##A286EF1.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)
#6598F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#919AAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a286ef;
/* rgb */ color: rgb(162, 134, 239);
/* oklch */ color: oklch(69.0% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#c0a9f5',
    500: '#a286ef',
    950: '#000000',
  },
}
SCSS
$custom: #a286ef;
$custom-light: #c0a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a286ef",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 256,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.15192,
    "h": 294.4
  },
  "luminance": 0.30964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A286EF

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

Preview Lab → · Contrast checker → · Palette generator →

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