#A286DF#A286DF

#A286DF is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.2% C 0.131 H 297.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A286DF
RGBrgb(162, 134, 223)
HSLhsl(259, 58%, 70%)
HSVhsv(259, 40%, 87%)
CMYKcmyk(27.4%, 39.9%, 0%, 12.5%)
CIE-LABlab(61.70, 29.30, -41.60)
CIE-LCHlch(61.70, 50.88, 305.15°)
OKLaboklab(68.15% 0.06 -0.1161)
OKLCHoklch(68.15% 0.131 297.3)
XYZxyz(36.7415, 30.0589, 73.6640)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286DF #C3DF86
analogous
#8697DF #A286DF #CE86DF
triadic
#A286DF #DFA286 #86DFA2
tetradic
#A286DF #DF8697 #C3DF86 #86DFCE
square
#A286DF #DF8697 #C3DF86 #86DFCE
split-complementary
#A286DF #DFCE86 #97DF86
monochromatic
#5C31BA #7D56D2 #A286DF #C7B6EC #ECE7F9

Accessibility & contrast

On white

2.99
#A286DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#A286DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286DF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286DF#FFFFFF#000000##000000
##A286DF1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#9695A8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a286df;
/* rgb */ color: rgb(162, 134, 223);
/* oklch */ color: oklch(68.2% 0.131 297.3);
Tailwind
colors: {
  custom: {
    50: '#bfa9e9',
    500: '#a286df',
    950: '#000000',
  },
}
SCSS
$custom: #a286df;
$custom-light: #bfa9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a286df",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 258.876,
    "s": 58.17,
    "l": 70
  },
  "oklch": {
    "l": 0.68154,
    "c": 0.13071,
    "h": 297.3
  },
  "luminance": 0.30059
}

Semantic roles & 50–950 ramp

primary
#A286DF
secondary
#E5EDD4
accent
#C62092
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A286DF

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

Preview Lab → · Contrast checker → · Palette generator →

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