#A591EC#A591EC

#A591EC is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.1% C 0.131 H 292.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A591EC
RGBrgb(165, 145, 236)
HSLhsl(253, 71%, 75%)
HSVhsv(253, 39%, 93%)
CMYKcmyk(30.1%, 38.6%, 0%, 7.5%)
CIE-LABlab(65.20, 27.09, -43.29)
CIE-LCHlch(65.20, 51.07, 302.04°)
OKLaboklab(71.07% 0.051 -0.121)
OKLCHoklch(71.07% 0.131 292.8)
XYZxyz(40.7790, 34.3056, 83.8138)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A591EC #D8EC91
analogous
#91ABEC #A591EC #D391EC
triadic
#A591EC #ECA591 #91ECA5
tetradic
#A591EC #EC91AB #D8EC91 #91ECD3
square
#A591EC #EC91AB #D8EC91 #91ECD3
split-complementary
#A591EC #ECD391 #ABEC91
monochromatic
#5029DA #7A5DE3 #A591EC #D0C5F5 #EAE5FA

Accessibility & contrast

On white

2.67
#A591EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A591EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A591EC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A591EC#FFFFFF#000000##000000
##A591EC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FF0
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#95A1B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a591ec;
/* rgb */ color: rgb(165, 145, 236);
/* oklch */ color: oklch(71.1% 0.131 292.8);
Tailwind
colors: {
  custom: {
    50: '#c2b1f2',
    500: '#a591ec',
    950: '#000000',
  },
}
SCSS
$custom: #a591ec;
$custom-light: #c2b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a591ec",
  "rgb": {
    "r": 165,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 253.187,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.13129,
    "h": 292.8
  },
  "luminance": 0.34306
}

Semantic roles & 50–950 ramp

primary
#A591EC
secondary
#EDF2D9
accent
#D313A8
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #A591EC

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

Preview Lab → · Contrast checker → · Palette generator →

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