#A286F9#A286F9

#A286F9 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.5% C 0.165 H 292.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A286F9
RGBrgb(162, 134, 249)
HSLhsl(255, 91%, 75%)
HSVhsv(255, 46%, 98%)
CMYKcmyk(34.9%, 46.2%, 0%, 2.4%)
CIE-LABlab(62.99, 35.85, -53.96)
CIE-LCHlch(62.99, 64.78, 303.60°)
OKLaboklab(69.54% 0.064 -0.1521)
OKLCHoklch(69.54% 0.165 292.8)
XYZxyz(40.5198, 31.5703, 93.5630)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286F9 #DDF986
analogous
#86A3F9 #A286F9 #DC86F9
triadic
#A286F9 #F9A286 #86F9A2
tetradic
#A286F9 #F986A3 #DDF986 #86F9DC
square
#A286F9 #F986A3 #DDF986 #86F9DC
split-complementary
#A286F9 #F9DC86 #A3F986
monochromatic
#4811F3 #754CF6 #A286F9 #CFC0FC #E9E2FE

Accessibility & contrast

On white

2.87
#A286F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A286F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286F9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286F9#FFFFFF#000000##000000
##A286F91.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#8D9CB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a286f9;
/* rgb */ color: rgb(162, 134, 249);
/* oklch */ color: oklch(69.5% 0.165 292.8);
Tailwind
colors: {
  custom: {
    50: '#c1a9fc',
    500: '#a286f9',
    950: '#000000',
  },
}
SCSS
$custom: #a286f9;
$custom-light: #c1a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a286f9",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 254.609,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69539,
    "c": 0.16505,
    "h": 292.8
  },
  "luminance": 0.31571
}

Semantic roles & 50–950 ramp

primary
#A286F9
secondary
#EEF6D5
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A286F9

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

Preview Lab → · Contrast checker → · Palette generator →

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