#A286E2#A286E2

#A286E2 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.3% C 0.135 H 296.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A286E2
RGBrgb(162, 134, 226)
HSLhsl(258, 61%, 71%)
HSVhsv(258, 41%, 89%)
CMYKcmyk(28.3%, 40.7%, 0%, 11.4%)
CIE-LABlab(61.85, 30.03, -43.05)
CIE-LCHlch(61.85, 52.49, 304.90°)
OKLaboklab(68.31% 0.0605 -0.1203)
OKLCHoklch(68.31% 0.135 296.7)
XYZxyz(37.1496, 30.2222, 75.8130)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286E2 #C6E286
analogous
#8698E2 #A286E2 #D086E2
triadic
#A286E2 #E2A286 #86E2A2
tetradic
#A286E2 #E28698 #C6E286 #86E2D0
square
#A286E2 #E28698 #C6E286 #86E2D0
split-complementary
#A286E2 #E2D086 #98E286
monochromatic
#5A2EC0 #7C55D6 #A286E2 #C8B7EE #ECE6F9

Accessibility & contrast

On white

2.98
#A286E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A286E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286E2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286E2#FFFFFF#000000##000000
##A286E21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E5
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#9596A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a286e2;
/* rgb */ color: rgb(162, 134, 226);
/* oklch */ color: oklch(68.3% 0.135 296.7);
Tailwind
colors: {
  custom: {
    50: '#bfa9eb',
    500: '#a286e2',
    950: '#000000',
  },
}
SCSS
$custom: #a286e2;
$custom-light: #bfa9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a286e2",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 258.261,
    "s": 61.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.13471,
    "h": 296.7
  },
  "luminance": 0.30223
}

Semantic roles & 50–950 ramp

primary
#A286E2
secondary
#E7EED5
accent
#C91C95
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A286E2

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

Preview Lab → · Contrast checker → · Palette generator →

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