#A586F7#A586F7

#A586F7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.163 H 294.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#A586F7
RGBrgb(165, 134, 247)
HSLhsl(256, 88%, 75%)
HSVhsv(256, 46%, 97%)
CMYKcmyk(33.2%, 45.7%, 0%, 3.1%)
CIE-LABlab(63.15, 36.10, -52.59)
CIE-LCHlch(63.15, 63.79, 304.47°)
OKLaboklab(69.69% 0.0673 -0.148)
OKLCHoklch(69.69% 0.163 294.4)
XYZxyz(40.8264, 31.7642, 91.9578)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586F7 #D8F786
analogous
#86A0F7 #A586F7 #DD86F7
triadic
#A586F7 #F7A586 #86F7A5
tetradic
#A586F7 #F786A0 #D8F786 #86F7DD
square
#A586F7 #F786A0 #D8F786 #86F7DD
split-complementary
#A586F7 #F7DD86 #A0F786
monochromatic
#5013EF #7A4DF3 #A586F7 #D0BFFB #EAE2FD

Accessibility & contrast

On white

2.86
#A586F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#A586F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586F7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586F7#FFFFFF#000000##000000
##A586F71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#929BB3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a586f7;
/* rgb */ color: rgb(165, 134, 247);
/* oklch */ color: oklch(69.7% 0.163 294.4);
Tailwind
colors: {
  custom: {
    50: '#c3a9fa',
    500: '#a586f7',
    950: '#000000',
  },
}
SCSS
$custom: #a586f7;
$custom-light: #c3a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a586f7",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 256.46,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.16262,
    "h": 294.4
  },
  "luminance": 0.31765
}

Semantic roles & 50–950 ramp

primary
#A586F7
secondary
#EDF5D6
accent
#E401A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A586F7

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

Preview Lab → · Contrast checker → · Palette generator →

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