#A586E1#A586E1

#A586E1 is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.5% C 0.134 H 298.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A586E1
RGBrgb(165, 134, 225)
HSLhsl(260, 60%, 70%)
HSVhsv(260, 40%, 88%)
CMYKcmyk(26.7%, 40.4%, 0%, 11.8%)
CIE-LABlab(62.07, 30.63, -42.12)
CIE-LCHlch(62.07, 52.08, 306.02°)
OKLaboklab(68.53% 0.0639 -0.1176)
OKLCHoklch(68.53% 0.134 298.5)
XYZxyz(37.6296, 30.4855, 75.1214)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586E1 #C2E186
analogous
#8694E1 #A586E1 #D386E1
triadic
#A586E1 #E1A586 #86E1A5
tetradic
#A586E1 #E18694 #C2E186 #86E1D3
square
#A586E1 #E18694 #C2E186 #86E1D3
split-complementary
#A586E1 #E1D386 #94E186
monochromatic
#602FBE #8155D5 #A586E1 #C9B7ED #EDE6F9

Accessibility & contrast

On white

2.96
#A586E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A586E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586E1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586E1#FFFFFF#000000##000000
##A586E11.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D96E4
Deuteranopia (green-blind)
#7395DF
Tritanopia (blue-blind)
#9996A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a586e1;
/* rgb */ color: rgb(165, 134, 225);
/* oklch */ color: oklch(68.5% 0.134 298.5);
Tailwind
colors: {
  custom: {
    50: '#c1a9eb',
    500: '#a586e1',
    950: '#000000',
  },
}
SCSS
$custom: #a586e1;
$custom-light: #c1a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a586e1",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 225
  },
  "hsl": {
    "h": 260.44,
    "s": 60.265,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.13382,
    "h": 298.5
  },
  "luminance": 0.30486
}

Semantic roles & 50–950 ramp

primary
#A586E1
secondary
#E5EED5
accent
#C81E8E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A586E1

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

Preview Lab → · Contrast checker → · Palette generator →

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