#A371FA#A371FA

#A371FA is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.197 H 297.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A371FA
RGBrgb(163, 113, 250)
HSLhsl(262, 93%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.8%, 54.8%, 0%, 2%)
CIE-LABlab(58.51, 48.03, -61.65)
CIE-LCHlch(58.51, 78.15, 307.92°)
OKLaboklab(66.24% 0.0913 -0.1747)
OKLCHoklch(66.24% 0.197 297.6)
XYZxyz(38.2604, 26.4984, 93.5229)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371FA #C8FA71
analogous
#7183FA #A371FA #E771FA
triadic
#A371FA #FAA371 #71FAA3
tetradic
#A371FA #FA7183 #C8FA71 #71FAE7
square
#A371FA #FA7183 #C8FA71 #71FAE7
split-complementary
#A371FA #FAE771 #83FA71
monochromatic
#5A08E8 #7D36F8 #A371FA #C9ACFC #ECE1FE

Accessibility & contrast

On white

3.33
#A371FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A371FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371FA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371FA#FFFFFF#000000##000000
##A371FA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFF
Deuteranopia (green-blind)
#458BF7
Tritanopia (blue-blind)
#8F8DAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a371fa;
/* rgb */ color: rgb(163, 113, 250);
/* oklch */ color: oklch(66.2% 0.197 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39bfd',
    500: '#a371fa',
    950: '#000000',
  },
}
SCSS
$custom: #a371fa;
$custom-light: #c39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a371fa",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 261.898,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.19711,
    "h": 297.6
  },
  "luminance": 0.26499
}

Semantic roles & 50–950 ramp

primary
#A371FA
secondary
#E8F5D1
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A371FA

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

Preview Lab → · Contrast checker → · Palette generator →

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