#A371F9#A371F9

#A371F9 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.196 H 297.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A371F9
RGBrgb(163, 113, 249)
HSLhsl(262, 92%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(34.5%, 54.6%, 0%, 2.4%)
CIE-LABlab(58.45, 47.78, -61.20)
CIE-LCHlch(58.45, 77.64, 307.98°)
OKLaboklab(66.18% 0.0913 -0.1733)
OKLCHoklch(66.18% 0.196 297.8)
XYZxyz(38.1040, 26.4359, 92.6993)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371F9 #C7F971
analogous
#7183F9 #A371F9 #E771F9
triadic
#A371F9 #F9A371 #71F9A3
tetradic
#A371F9 #F97183 #C7F971 #71F9E7
square
#A371F9 #F97183 #C7F971 #71F9E7
split-complementary
#A371F9 #F9E771 #83F971
monochromatic
#5B0AE6 #7D36F7 #A371F9 #C9ACFB #ECE2FE

Accessibility & contrast

On white

3.34
#A371F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A371F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371F9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371F9#FFFFFF#000000##000000
##A371F91.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFE
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#908DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a371f9;
/* rgb */ color: rgb(163, 113, 249);
/* oklch */ color: oklch(66.2% 0.196 297.8);
Tailwind
colors: {
  custom: {
    50: '#c29bfc',
    500: '#a371f9',
    950: '#000000',
  },
}
SCSS
$custom: #a371f9;
$custom-light: #c29bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a371f9",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 262.059,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.1959,
    "h": 297.8
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#A371F9
secondary
#E8F5D1
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A371F9

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

Preview Lab → · Contrast checker → · Palette generator →

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