#A586FA#A586FA

#A586FA is a light, vivid violet. Relative luminance 0.320; OKLCH L 69.9% C 0.167 H 294.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#A586FA
RGBrgb(165, 134, 250)
HSLhsl(256, 92%, 75%)
HSVhsv(256, 46%, 98%)
CMYKcmyk(34%, 46.4%, 0%, 2%)
CIE-LABlab(63.30, 36.87, -53.99)
CIE-LCHlch(63.30, 65.38, 304.33°)
OKLaboklab(69.86% 0.0676 -0.1521)
OKLCHoklch(69.86% 0.167 294)
XYZxyz(41.2930, 31.9509, 94.4155)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586FA #DBFA86
analogous
#86A1FA #A586FA #DF86FA
triadic
#A586FA #FAA586 #86FAA5
tetradic
#A586FA #FA86A1 #DBFA86 #86FADF
square
#A586FA #FA86A1 #DBFA86 #86FADF
split-complementary
#A586FA #FADF86 #A1FA86
monochromatic
#4E10F5 #794BF8 #A586FA #D1C1FC #E9E2FE

Accessibility & contrast

On white

2.84
#A586FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#A586FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586FA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586FA#FFFFFF#000000##000000
##A586FA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#919CB4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a586fa;
/* rgb */ color: rgb(165, 134, 250);
/* oklch */ color: oklch(69.9% 0.167 294.0);
Tailwind
colors: {
  custom: {
    50: '#c3a9fc',
    500: '#a586fa',
    950: '#000000',
  },
}
SCSS
$custom: #a586fa;
$custom-light: #c3a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a586fa",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 256.034,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69856,
    "c": 0.16651,
    "h": 294
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

primary
#A586FA
secondary
#EDF6D5
accent
#E600A8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A586FA

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

Preview Lab → · Contrast checker → · Palette generator →

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