#A286EB#A286EB

#A286EB is a light, vivid violet. Relative luminance 0.307; OKLCH L 68.8% C 0.147 H 295.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A286EB
RGBrgb(162, 134, 235)
HSLhsl(257, 72%, 72%)
HSVhsv(257, 43%, 92%)
CMYKcmyk(31.1%, 43%, 0%, 7.8%)
CIE-LABlab(62.28, 32.28, -47.36)
CIE-LCHlch(62.28, 57.31, 304.28°)
OKLaboklab(68.77% 0.062 -0.1329)
OKLCHoklch(68.77% 0.147 295)
XYZxyz(38.4171, 30.7292, 82.4885)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A286EB #CFEB86
analogous
#869CEB #A286EB #D586EB
triadic
#A286EB #EBA286 #86EBA2
tetradic
#A286EB #EB869C #CFEB86 #86EBD5
square
#A286EB #EB869C #CFEB86 #86EBD5
split-complementary
#A286EB #EBD586 #9CEB86
monochromatic
#5423D4 #7A51E2 #A286EB #CABBF4 #EBE5FB

Accessibility & contrast

On white

2.94
#A286EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A286EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A286EB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A286EB#FFFFFF#000000##000000
##A286EB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#9298AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a286eb;
/* rgb */ color: rgb(162, 134, 235);
/* oklch */ color: oklch(68.8% 0.147 295.0);
Tailwind
colors: {
  custom: {
    50: '#c0a9f2',
    500: '#a286eb',
    950: '#000000',
  },
}
SCSS
$custom: #a286eb;
$custom-light: #c0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a286eb",
  "rgb": {
    "r": 162,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 256.634,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68775,
    "c": 0.14665,
    "h": 295
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#A286EB
secondary
#EBF2D9
accent
#D4129E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A286EB

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

Preview Lab → · Contrast checker → · Palette generator →

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