#A371EE#A371EE

#A371EE is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.183 H 299.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A371EE
RGBrgb(163, 113, 238)
HSLhsl(264, 79%, 69%)
HSVhsv(264, 53%, 93%)
CMYKcmyk(31.5%, 52.5%, 0%, 6.7%)
CIE-LABlab(57.82, 45.05, -56.10)
CIE-LCHlch(57.82, 71.95, 308.76°)
OKLaboklab(65.51% 0.0909 -0.1584)
OKLCHoklch(65.51% 0.183 299.8)
XYZxyz(36.4383, 25.7696, 83.9267)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371EE #BCEE71
analogous
#717EEE #A371EE #E271EE
triadic
#A371EE #EEA371 #71EEA3
tetradic
#A371EE #EE717E #BCEE71 #71EEE2
square
#A371EE #EE717E #BCEE71 #71EEE2
split-complementary
#A371EE #EEE271 #7EEE71
monochromatic
#6018CC #803AE7 #A371EE #C6A8F5 #EADEFB

Accessibility & contrast

On white

3.41
#A371EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A371EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371EE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371EE#FFFFFF#000000##000000
##A371EE1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#9489A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a371ee;
/* rgb */ color: rgb(163, 113, 238);
/* oklch */ color: oklch(65.5% 0.183 299.8);
Tailwind
colors: {
  custom: {
    50: '#c29bf4',
    500: '#a371ee',
    950: '#000000',
  },
}
SCSS
$custom: #a371ee;
$custom-light: #c29bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a371ee",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 264,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.1826,
    "h": 299.8
  },
  "luminance": 0.2577
}

Semantic roles & 50–950 ramp

primary
#A371EE
secondary
#E1F0CB
accent
#DB0B88
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A371EE

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

Preview Lab → · Contrast checker → · Palette generator →

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