#A391EA#A391EA

#A391EA is a light, vivid violet. Relative luminance 0.340; OKLCH L 70.8% C 0.128 H 292.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A391EA
RGBrgb(163, 145, 234)
HSLhsl(252, 68%, 74%)
HSVhsv(252, 38%, 92%)
CMYKcmyk(30.3%, 38%, 0%, 8.2%)
CIE-LABlab(64.94, 26.04, -42.60)
CIE-LCHlch(64.94, 49.93, 301.43°)
OKLaboklab(70.8% 0.0483 -0.1191)
OKLCHoklch(70.8% 0.128 292.1)
XYZxyz(40.0772, 33.9771, 82.2727)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A391EA #D8EA91
analogous
#91ACEA #A391EA #D091EA
triadic
#A391EA #EAA391 #91EAA3
tetradic
#A391EA #EA91AC #D8EA91 #91EAD0
square
#A391EA #EA91AC #D8EA91 #91EAD0
split-complementary
#A391EA #EAD091 #ACEA91
monochromatic
#4D2AD6 #785EE0 #A391EA #CEC4F4 #EAE5FA

Accessibility & contrast

On white

2.69
#A391EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#A391EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A391EA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A391EA#FFFFFF#000000##000000
##A391EA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#93A1B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a391ea;
/* rgb */ color: rgb(163, 145, 234);
/* oklch */ color: oklch(70.8% 0.128 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0b1f1',
    500: '#a391ea',
    950: '#000000',
  },
}
SCSS
$custom: #a391ea;
$custom-light: #c0b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a391ea",
  "rgb": {
    "r": 163,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 252.135,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70803,
    "c": 0.12848,
    "h": 292.1
  },
  "luminance": 0.33978
}

Semantic roles & 50–950 ramp

primary
#A391EA
secondary
#EDF2D9
accent
#D016AA
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#121017
muted
#817F85

Preview Lab

Preview with #A391EA

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

Preview Lab → · Contrast checker → · Palette generator →

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