#A591EB#A591EB

#A591EB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.0% C 0.130 H 293.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A591EB
RGBrgb(165, 145, 235)
HSLhsl(253, 69%, 75%)
HSVhsv(253, 38%, 92%)
CMYKcmyk(29.8%, 38.3%, 0%, 7.8%)
CIE-LABlab(65.16, 26.84, -42.81)
CIE-LCHlch(65.16, 50.53, 302.09°)
OKLaboklab(71.02% 0.0508 -0.1196)
OKLCHoklch(71.02% 0.13 293)
XYZxyz(40.6341, 34.2476, 83.0508)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A591EB #D7EB91
analogous
#91AAEB #A591EB #D291EB
triadic
#A591EB #EBA591 #91EBA5
tetradic
#A591EB #EB91AA #D7EB91 #91EBD2
square
#A591EB #EB91AA #D7EB91 #91EBD2
split-complementary
#A591EB #EBD291 #AAEB91
monochromatic
#5029D8 #7B5DE2 #A591EB #CFC5F4 #EAE5FA

Accessibility & contrast

On white

2.68
#A591EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A591EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A591EB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A591EB#FFFFFF#000000##000000
##A591EB1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a591eb;
/* rgb */ color: rgb(165, 145, 235);
/* oklch */ color: oklch(71.0% 0.130 293.0);
Tailwind
colors: {
  custom: {
    50: '#c2b1f2',
    500: '#a591eb',
    950: '#000000',
  },
}
SCSS
$custom: #a591eb;
$custom-light: #c2b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a591eb",
  "rgb": {
    "r": 165,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 253.333,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.12993,
    "h": 293
  },
  "luminance": 0.34248
}

Semantic roles & 50–950 ramp

primary
#A591EB
secondary
#ECF2D9
accent
#D114A7
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#121017
muted
#817F85

Preview Lab

Preview with #A591EB

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

Preview Lab → · Contrast checker → · Palette generator →

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