#A371FD#A371FD

#A371FD is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.4% C 0.201 H 297.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A371FD
RGBrgb(163, 113, 253)
HSLhsl(261, 97%, 72%)
HSVhsv(261, 55%, 99%)
CMYKcmyk(35.6%, 55.3%, 0%, 0.8%)
CIE-LABlab(58.68, 48.78, -63.03)
CIE-LCHlch(58.68, 79.70, 307.74°)
OKLaboklab(66.43% 0.0914 -0.1787)
OKLCHoklch(66.43% 0.201 297.1)
XYZxyz(38.7345, 26.6881, 96.0200)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371FD #CBFD71
analogous
#7185FD #A371FD #E971FD
triadic
#A371FD #FDA371 #71FDA3
tetradic
#A371FD #FD7185 #CBFD71 #71FDE9
square
#A371FD #FD7185 #CBFD71 #71FDE9
split-complementary
#A371FD #FDE971 #85FD71
monochromatic
#5803F0 #7C35FC #A371FD #CAADFE #EBE1FF

Accessibility & contrast

On white

3.31
#A371FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A371FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371FD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371FD#FFFFFF#000000##000000
##A371FD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#418BFA
Tritanopia (blue-blind)
#8E8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a371fd;
/* rgb */ color: rgb(163, 113, 253);
/* oklch */ color: oklch(66.4% 0.201 297.1);
Tailwind
colors: {
  custom: {
    50: '#c39bff',
    500: '#a371fd',
    950: '#000000',
  },
}
SCSS
$custom: #a371fd;
$custom-light: #c39bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a371fd",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 261.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66431,
    "c": 0.2007,
    "h": 297.1
  },
  "luminance": 0.26689
}

Semantic roles & 50–950 ramp

primary
#A371FD
secondary
#EAF7D3
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A371FD

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

Preview Lab → · Contrast checker → · Palette generator →

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