#A586FB#A586FB

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

Color values

HEX#A586FB
RGBrgb(165, 134, 251)
HSLhsl(256, 94%, 75%)
HSVhsv(256, 47%, 98%)
CMYKcmyk(34.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(63.35, 37.12, -54.46)
CIE-LCHlch(63.35, 65.91, 304.28°)
OKLaboklab(69.91% 0.0678 -0.1535)
OKLCHoklch(69.91% 0.168 293.8)
XYZxyz(41.4503, 32.0138, 95.2435)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586FB #DCFB86
analogous
#86A2FB #A586FB #DF86FB
triadic
#A586FB #FBA586 #86FBA5
tetradic
#A586FB #FB86A2 #DCFB86 #86FBDF
square
#A586FB #FB86A2 #DCFB86 #86FBDF
split-complementary
#A586FB #FBDF86 #A2FB86
monochromatic
#4D10F7 #794BF9 #A586FB #D1C1FD #E9E1FE

Accessibility & contrast

On white

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

On black

7.40
#A586FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586FB#FFFFFF#000000##000000
##A586FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#919CB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a586fb;
/* rgb */ color: rgb(165, 134, 251);
/* oklch */ color: oklch(69.9% 0.168 293.8);
Tailwind
colors: {
  custom: {
    50: '#c3a9fd',
    500: '#a586fb',
    950: '#000000',
  },
}
SCSS
$custom: #a586fb;
$custom-light: #c3a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a586fb",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 255.897,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.16781,
    "h": 293.8
  },
  "luminance": 0.32015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A586FB

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

Preview Lab → · Contrast checker → · Palette generator →

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