#A371F4#A371F4

#A371F4 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.190 H 298.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A371F4
RGBrgb(163, 113, 244)
HSLhsl(263, 86%, 70%)
HSVhsv(263, 54%, 96%)
CMYKcmyk(33.2%, 53.7%, 0%, 4.3%)
CIE-LABlab(58.16, 46.53, -58.89)
CIE-LCHlch(58.16, 75.06, 308.31°)
OKLaboklab(65.87% 0.0911 -0.1666)
OKLCHoklch(65.87% 0.19 298.7)
XYZxyz(37.3345, 26.1281, 88.6467)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371F4 #C2F471
analogous
#7180F4 #A371F4 #E571F4
triadic
#A371F4 #F4A371 #71F4A3
tetradic
#A371F4 #F47180 #C2F471 #71F4E5
square
#A371F4 #F47180 #C2F471 #71F4E5
split-complementary
#A371F4 #F4E571 #80F471
monochromatic
#5E11DA #7E38F0 #A371F4 #C8AAF8 #EDE3FD

Accessibility & contrast

On white

3.37
#A371F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A371F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371F4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371F4#FFFFFF#000000##000000
##A371F41.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#928BA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a371f4;
/* rgb */ color: rgb(163, 113, 244);
/* oklch */ color: oklch(65.9% 0.190 298.7);
Tailwind
colors: {
  custom: {
    50: '#c29bf8',
    500: '#a371f4',
    950: '#000000',
  },
}
SCSS
$custom: #a371f4;
$custom-light: #c29bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a371f4",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 262.901,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.65874,
    "c": 0.18987,
    "h": 298.7
  },
  "luminance": 0.26128
}

Semantic roles & 50–950 ramp

primary
#A371F4
secondary
#E5F3CE
accent
#E2038D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A371F4

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

Preview Lab → · Contrast checker → · Palette generator →

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