#A586EF#A586EF

#A586EF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.3% C 0.152 H 295.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A586EF
RGBrgb(165, 134, 239)
HSLhsl(258, 77%, 73%)
HSVhsv(258, 44%, 94%)
CMYKcmyk(31%, 43.9%, 0%, 6.3%)
CIE-LABlab(62.74, 34.08, -48.82)
CIE-LCHlch(62.74, 59.54, 304.92°)
OKLaboklab(69.26% 0.0662 -0.1371)
OKLCHoklch(69.26% 0.152 295.8)
XYZxyz(39.6183, 31.2810, 85.5952)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586EF #D0EF86
analogous
#869BEF #A586EF #D986EF
triadic
#A586EF #EFA586 #86EFA5
tetradic
#A586EF #EF869B #D0EF86 #86EFD9
square
#A586EF #EF869B #D0EF86 #86EFD9
split-complementary
#A586EF #EFD986 #9BEF86
monochromatic
#561DDD #7D50E8 #A586EF #CDBCF6 #EBE4FB

Accessibility & contrast

On white

2.89
#A586EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A586EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586EF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586EF#FFFFFF#000000##000000
##A586EF1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#9599AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a586ef;
/* rgb */ color: rgb(165, 134, 239);
/* oklch */ color: oklch(69.3% 0.152 295.8);
Tailwind
colors: {
  custom: {
    50: '#c2a9f5',
    500: '#a586ef',
    950: '#000000',
  },
}
SCSS
$custom: #a586ef;
$custom-light: #c2a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a586ef",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 257.714,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69255,
    "c": 0.1522,
    "h": 295.8
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#A586EF
secondary
#EBF3D8
accent
#D90D9D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #A586EF

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

Preview Lab → · Contrast checker → · Palette generator →

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