#A286F8#A286F8

#A286F8 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.164 H 293.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A286F8
RGBrgb(162, 134, 248)
HSLhsl(255, 89%, 75%)
HSVhsv(255, 46%, 97%)
CMYKcmyk(34.7%, 46%, 0%, 2.7%)
CIE-LABlab(62.93, 35.60, -53.49)
CIE-LCHlch(62.93, 64.25, 303.64°)
OKLaboklab(69.48% 0.0639 -0.1508)
OKLCHoklch(69.48% 0.164 293)
XYZxyz(40.3643, 31.5080, 92.7437)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286F8 #DCF886
analogous
#86A3F8 #A286F8 #DB86F8
triadic
#A286F8 #F8A286 #86F8A2
tetradic
#A286F8 #F886A3 #DCF886 #86F8DB
square
#A286F8 #F886A3 #DCF886 #86F8DB
split-complementary
#A286F8 #F8DB86 #A3F886
monochromatic
#4912F1 #764CF5 #A286F8 #CEC0FB #E9E2FD

Accessibility & contrast

On white

2.88
#A286F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#A286F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286F8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286F8#FFFFFF#000000##000000
##A286F81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#6396F5
Tritanopia (blue-blind)
#8D9CB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a286f8;
/* rgb */ color: rgb(162, 134, 248);
/* oklch */ color: oklch(69.5% 0.164 293.0);
Tailwind
colors: {
  custom: {
    50: '#c1a9fb',
    500: '#a286f8',
    950: '#000000',
  },
}
SCSS
$custom: #a286f8;
$custom-light: #c1a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a286f8",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 254.737,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69483,
    "c": 0.16373,
    "h": 293
  },
  "luminance": 0.31509
}

Semantic roles & 50–950 ramp

primary
#A286F8
secondary
#EEF5D6
accent
#E600AD
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A286F8

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

Preview Lab → · Contrast checker → · Palette generator →

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