#A286DC#A286DC

#A286DC is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.0% C 0.127 H 297.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A286DC
RGBrgb(162, 134, 220)
HSLhsl(260, 55%, 69%)
HSVhsv(260, 39%, 86%)
CMYKcmyk(26.4%, 39.1%, 0%, 13.7%)
CIE-LABlab(61.57, 28.56, -40.15)
CIE-LCHlch(61.57, 49.27, 305.43°)
OKLaboklab(68% 0.0594 -0.1119)
OKLCHoklch(68% 0.127 297.9)
XYZxyz(36.3407, 29.8986, 71.5527)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286DC #C0DC86
analogous
#8695DC #A286DC #CD86DC
triadic
#A286DC #DCA286 #86DCA2
tetradic
#A286DC #DC8695 #C0DC86 #86DCCD
square
#A286DC #DC8695 #C0DC86 #86DCCD
split-complementary
#A286DC #DCCD86 #95DC86
monochromatic
#5E34B4 #7E57CE #A286DC #C6B5EA #EBE5F7

Accessibility & contrast

On white

3.01
#A286DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A286DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A286DC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286DC#FFFFFF#000000##000000
##A286DC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F95DF
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#9795A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a286dc;
/* rgb */ color: rgb(162, 134, 220);
/* oklch */ color: oklch(68.0% 0.127 297.9);
Tailwind
colors: {
  custom: {
    50: '#bfa9e7',
    500: '#a286dc',
    950: '#000000',
  },
}
SCSS
$custom: #a286dc;
$custom-light: #bfa9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a286dc",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 259.535,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68004,
    "c": 0.12671,
    "h": 297.9
  },
  "luminance": 0.29899
}

Semantic roles & 50–950 ramp

primary
#A286DC
secondary
#E3EBD3
accent
#C3238F
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A286DC

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

Preview Lab → · Contrast checker → · Palette generator →

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