#A371EA#A371EA

#A371EA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.178 H 300.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A371EA
RGBrgb(163, 113, 234)
HSLhsl(265, 74%, 68%)
HSVhsv(265, 52%, 92%)
CMYKcmyk(30.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(57.59, 44.06, -54.23)
CIE-LCHlch(57.59, 69.88, 309.09°)
OKLaboklab(65.28% 0.0906 -0.1529)
OKLCHoklch(65.28% 0.178 300.7)
XYZxyz(35.8572, 25.5371, 80.8660)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371EA #B8EA71
analogous
#717BEA #A371EA #DF71EA
triadic
#A371EA #EAA371 #71EAA3
tetradic
#A371EA #EA717B #B8EA71 #71EADF
square
#A371EA #EA717B #B8EA71 #71EADF
split-complementary
#A371EA #EADF71 #7BEA71
monochromatic
#621DC4 #803CE2 #A371EA #C6A6F2 #E8DCFA

Accessibility & contrast

On white

3.44
#A371EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A371EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371EA#FFFFFF#000000##000000
##A371EA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEE
Deuteranopia (green-blind)
#548AE7
Tritanopia (blue-blind)
#9588A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a371ea;
/* rgb */ color: rgb(163, 113, 234);
/* oklch */ color: oklch(65.3% 0.178 300.7);
Tailwind
colors: {
  custom: {
    50: '#c19bf1',
    500: '#a371ea',
    950: '#000000',
  },
}
SCSS
$custom: #a371ea;
$custom-light: #c19bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a371ea",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 264.793,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65275,
    "c": 0.17775,
    "h": 300.7
  },
  "luminance": 0.25537
}

Semantic roles & 50–950 ramp

primary
#A371EA
secondary
#DFEEC9
accent
#D60F84
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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