#A586F2#A586F2

#A586F2 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.156 H 295.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A586F2
RGBrgb(165, 134, 242)
HSLhsl(257, 81%, 74%)
HSVhsv(257, 45%, 95%)
CMYKcmyk(31.8%, 44.6%, 0%, 5.1%)
CIE-LABlab(62.89, 34.84, -50.24)
CIE-LCHlch(62.89, 61.13, 304.74°)
OKLaboklab(69.42% 0.0666 -0.1412)
OKLCHoklch(69.42% 0.156 295.3)
XYZxyz(40.0652, 31.4597, 87.9487)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586F2 #D3F286
analogous
#869DF2 #A586F2 #DB86F2
triadic
#A586F2 #F2A586 #86F2A5
tetradic
#A586F2 #F2869D #D3F286 #86F2DB
square
#A586F2 #F2869D #D3F286 #86F2DB
split-complementary
#A586F2 #F2DB86 #9DF286
monochromatic
#5319E5 #7C4FEC #A586F2 #CEBDF8 #EAE3FC

Accessibility & contrast

On white

2.88
#A586F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A586F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586F2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586F2#FFFFFF#000000##000000
##A586F21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#949AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a586f2;
/* rgb */ color: rgb(165, 134, 242);
/* oklch */ color: oklch(69.4% 0.156 295.3);
Tailwind
colors: {
  custom: {
    50: '#c2a9f7',
    500: '#a586f2',
    950: '#000000',
  },
}
SCSS
$custom: #a586f2;
$custom-light: #c2a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a586f2",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 257.222,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.15611,
    "h": 295.3
  },
  "luminance": 0.3146
}

Semantic roles & 50–950 ramp

primary
#A586F2
secondary
#ECF4D7
accent
#DD09A0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A586F2

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

Preview Lab → · Contrast checker → · Palette generator →

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