#A286EC#A286EC

#A286EC is a light, vivid violet. Relative luminance 0.308; OKLCH L 68.8% C 0.148 H 294.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A286EC
RGBrgb(162, 134, 236)
HSLhsl(256, 73%, 73%)
HSVhsv(256, 43%, 93%)
CMYKcmyk(31.4%, 43.2%, 0%, 7.5%)
CIE-LABlab(62.33, 32.53, -47.84)
CIE-LCHlch(62.33, 57.85, 304.22°)
OKLaboklab(68.83% 0.0622 -0.1343)
OKLCHoklch(68.83% 0.148 294.9)
XYZxyz(38.5619, 30.7871, 83.2515)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286EC #D0EC86
analogous
#869DEC #A286EC #D586EC
triadic
#A286EC #ECA286 #86ECA2
tetradic
#A286EC #EC869D #D0EC86 #86ECD5
square
#A286EC #EC869D #D0EC86 #86ECD5
split-complementary
#A286EC #ECD586 #9DEC86
monochromatic
#5322D6 #7951E4 #A286EC #CBBBF4 #EBE5FB

Accessibility & contrast

On white

2.93
#A286EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#A286EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286EC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286EC#FFFFFF#000000##000000
##A286EC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F0
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#9299AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a286ec;
/* rgb */ color: rgb(162, 134, 236);
/* oklch */ color: oklch(68.8% 0.148 294.9);
Tailwind
colors: {
  custom: {
    50: '#c0a9f2',
    500: '#a286ec',
    950: '#000000',
  },
}
SCSS
$custom: #a286ec;
$custom-light: #c0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a286ec",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 256.471,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.14797,
    "h": 294.9
  },
  "luminance": 0.30788
}

Semantic roles & 50–950 ramp

primary
#A286EC
secondary
#EBF3D8
accent
#D5119F
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A286EC

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

Preview Lab → · Contrast checker → · Palette generator →

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