#A286FC#A286FC

#A286FC is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.169 H 292.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A286FC
RGBrgb(162, 134, 252)
HSLhsl(254, 95%, 76%)
HSVhsv(254, 47%, 99%)
CMYKcmyk(35.7%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.14, 36.63, -55.36)
CIE-LCHlch(63.14, 66.38, 303.49°)
OKLaboklab(69.71% 0.0643 -0.1562)
OKLCHoklch(69.71% 0.169 292.4)
XYZxyz(40.9915, 31.7589, 96.0470)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286FC #E0FC86
analogous
#86A5FC #A286FC #DD86FC
triadic
#A286FC #FCA286 #86FCA2
tetradic
#A286FC #FC86A5 #E0FC86 #86FCDD
square
#A286FC #FC86A5 #E0FC86 #86FCDD
split-complementary
#A286FC #FCDD86 #A5FC86
monochromatic
#460FF9 #744AFB #A286FC #D0C2FD #E8E1FE

Accessibility & contrast

On white

2.86
#A286FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A286FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286FC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286FC#FFFFFF#000000##000000
##A286FC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#8C9DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a286fc;
/* rgb */ color: rgb(162, 134, 252);
/* oklch */ color: oklch(69.7% 0.169 292.4);
Tailwind
colors: {
  custom: {
    50: '#c1a9fe',
    500: '#a286fc',
    950: '#000000',
  },
}
SCSS
$custom: #a286fc;
$custom-light: #c1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a286fc",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 254.237,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69708,
    "c": 0.16894,
    "h": 292.4
  },
  "luminance": 0.3176
}

Semantic roles & 50–950 ramp

primary
#A286FC
secondary
#EEF6D5
accent
#E600AF
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A286FC

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

Preview Lab → · Contrast checker → · Palette generator →

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