#A286FE#A286FE

#A286FE is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.8% C 0.172 H 292.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A286FE
RGBrgb(162, 134, 254)
HSLhsl(254, 98%, 76%)
HSVhsv(254, 47%, 100%)
CMYKcmyk(36.2%, 47.2%, 0%, 0.4%)
CIE-LABlab(63.25, 37.15, -56.28)
CIE-LCHlch(63.25, 67.44, 303.43°)
OKLaboklab(69.82% 0.0645 -0.1589)
OKLCHoklch(69.82% 0.172 292.1)
XYZxyz(41.3101, 31.8864, 97.7249)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286FE #E2FE86
analogous
#86A6FE #A286FE #DE86FE
triadic
#A286FE #FEA286 #86FEA2
tetradic
#A286FE #FE86A6 #E2FE86 #86FEDE
square
#A286FE #FE86A6 #E2FE86 #86FEDE
split-complementary
#A286FE #FEDE86 #A6FE86
monochromatic
#450DFD #7349FD #A286FE #D1C3FF #E8E1FF

Accessibility & contrast

On white

2.85
#A286FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#A286FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286FE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286FE#FFFFFF#000000##000000
##A286FE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#8B9EB6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a286fe;
/* rgb */ color: rgb(162, 134, 254);
/* oklch */ color: oklch(69.8% 0.172 292.1);
Tailwind
colors: {
  custom: {
    50: '#c1a9ff',
    500: '#a286fe',
    950: '#000000',
  },
}
SCSS
$custom: #a286fe;
$custom-light: #c1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a286fe",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 254,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.17154,
    "h": 292.1
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

primary
#A286FE
secondary
#EFF7D4
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A286FE

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

Preview Lab → · Contrast checker → · Palette generator →

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