#A586FC#A586FC

#A586FC is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.0% C 0.169 H 293.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#A586FC
RGBrgb(165, 134, 252)
HSLhsl(256, 95%, 76%)
HSVhsv(256, 47%, 99%)
CMYKcmyk(34.5%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.41, 37.38, -54.92)
CIE-LCHlch(63.41, 66.44, 304.24°)
OKLaboklab(69.97% 0.0679 -0.1549)
OKLCHoklch(69.97% 0.169 293.7)
XYZxyz(41.6083, 32.0770, 96.0759)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586FC #DDFC86
analogous
#86A2FC #A586FC #E086FC
triadic
#A586FC #FCA586 #86FCA5
tetradic
#A586FC #FC86A2 #DDFC86 #86FCE0
square
#A586FC #FC86A2 #DDFC86 #86FCE0
split-complementary
#A586FC #FCE086 #A2FC86
monochromatic
#4C0FF9 #794AFB #A586FC #D1C2FD #E9E1FE

Accessibility & contrast

On white

2.83
#A586FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#A586FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586FC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586FC#FFFFFF#000000##000000
##A586FC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6298F9
Tritanopia (blue-blind)
#909DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a586fc;
/* rgb */ color: rgb(165, 134, 252);
/* oklch */ color: oklch(70.0% 0.169 293.7);
Tailwind
colors: {
  custom: {
    50: '#c3a9fe',
    500: '#a586fc',
    950: '#000000',
  },
}
SCSS
$custom: #a586fc;
$custom-light: #c3a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a586fc",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 255.763,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.1691,
    "h": 293.7
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

primary
#A586FC
secondary
#EEF6D5
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A586FC

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

Preview Lab → · Contrast checker → · Palette generator →

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