#A586DC#A586DC

#A586DC is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.3% C 0.127 H 299.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A586DC
RGBrgb(165, 134, 220)
HSLhsl(262, 55%, 69%)
HSVhsv(262, 39%, 86%)
CMYKcmyk(25%, 39.1%, 0%, 13.7%)
CIE-LABlab(61.84, 29.42, -39.70)
CIE-LCHlch(61.84, 49.41, 306.55°)
OKLaboklab(68.28% 0.0629 -0.1106)
OKLCHoklch(68.28% 0.127 299.6)
XYZxyz(36.9575, 30.2166, 71.5816)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A586DC #BDDC86
analogous
#8692DC #A586DC #D086DC
triadic
#A586DC #DCA586 #86DCA5
tetradic
#A586DC #DC8692 #BDDC86 #86DCD0
square
#A586DC #DC8692 #BDDC86 #86DCD0
split-complementary
#A586DC #DCD086 #92DC86
monochromatic
#6234B4 #8257CE #A586DC #C8B5EA #ECE5F7

Accessibility & contrast

On white

2.98
#A586DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A586DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A586DC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A586DC#FFFFFF#000000##000000
##A586DC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DF
Deuteranopia (green-blind)
#7695DA
Tritanopia (blue-blind)
#9B94A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a586dc;
/* rgb */ color: rgb(165, 134, 220);
/* oklch */ color: oklch(68.3% 0.127 299.6);
Tailwind
colors: {
  custom: {
    50: '#c1a9e7',
    500: '#a586dc',
    950: '#000000',
  },
}
SCSS
$custom: #a586dc;
$custom-light: #c1a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a586dc",
  "rgb": {
    "r": 165,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 261.628,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.12722,
    "h": 299.6
  },
  "luminance": 0.30217
}

Semantic roles & 50–950 ramp

primary
#A586DC
secondary
#E2EBD3
accent
#C32389
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A586DC

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

Preview Lab → · Contrast checker → · Palette generator →

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