#A586EB#A586EB

#A586EB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.147 H 296.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A586EB
RGBrgb(165, 134, 235)
HSLhsl(258, 72%, 72%)
HSVhsv(258, 43%, 92%)
CMYKcmyk(29.8%, 43%, 0%, 7.8%)
CIE-LABlab(62.55, 33.09, -46.92)
CIE-LCHlch(62.55, 57.41, 305.19°)
OKLaboklab(69.04% 0.0656 -0.1315)
OKLCHoklch(69.04% 0.147 296.5)
XYZxyz(39.0339, 31.0472, 82.5174)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586EB #CCEB86
analogous
#869AEB #A586EB #D886EB
triadic
#A586EB #EBA586 #86EBA5
tetradic
#A586EB #EB869A #CCEB86 #86EBD8
square
#A586EB #EB869A #CCEB86 #86EBD8
split-complementary
#A586EB #EBD886 #9AEB86
monochromatic
#5923D4 #7E51E2 #A586EB #CCBBF4 #EBE5FB

Accessibility & contrast

On white

2.91
#A586EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#A586EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586EB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586EB#FFFFFF#000000##000000
##A586EB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#9698AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a586eb;
/* rgb */ color: rgb(165, 134, 235);
/* oklch */ color: oklch(69.0% 0.147 296.5);
Tailwind
colors: {
  custom: {
    50: '#c2a9f2',
    500: '#a586eb',
    950: '#000000',
  },
}
SCSS
$custom: #a586eb;
$custom-light: #c2a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a586eb",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 258.416,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69042,
    "c": 0.14697,
    "h": 296.5
  },
  "luminance": 0.31048
}

Semantic roles & 50–950 ramp

primary
#A586EB
secondary
#EAF2D9
accent
#D41298
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A586EB

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

Preview Lab → · Contrast checker → · Palette generator →

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