#A371CA#A371CA

#A371CA is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.5% C 0.139 H 308.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A371CA
RGBrgb(163, 113, 202)
HSLhsl(274, 46%, 62%)
HSVhsv(274, 44%, 79%)
CMYKcmyk(19.3%, 44.1%, 0%, 20.8%)
CIE-LABlab(55.95, 36.50, -38.82)
CIE-LCHlch(55.95, 53.29, 313.24°)
OKLaboklab(63.51% 0.087 -0.108)
OKLCHoklch(63.51% 0.139 308.8)
XYZxyz(31.6680, 23.8615, 58.8031)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371CA #98CA71
analogous
#7771CA #A371CA #CA71C5
triadic
#A371CA #CAA371 #71CAA3
tetradic
#A371CA #CA7771 #98CA71 #71C5CA
square
#A371CA #CA7771 #98CA71 #71C5CA
split-complementary
#A371CA #C5CA71 #71CA77
monochromatic
#66348C #8645B9 #A371CA #C09EDB #DDCAEB

Accessibility & contrast

On white

3.64
#A371CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A371CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371CA#FFFFFF#000000##000000
##A371CA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#9E7F94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371ca;
/* rgb */ color: rgb(163, 113, 202);
/* oklch */ color: oklch(63.5% 0.139 308.8);
Tailwind
colors: {
  custom: {
    50: '#c09bda',
    500: '#a371ca',
    950: '#000000',
  },
}
SCSS
$custom: #a371ca;
$custom-light: #c09bda;
$custom-dark: #000000;
JSON
{
  "hex": "#a371ca",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 273.708,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63512,
    "c": 0.13866,
    "h": 308.8
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

primary
#A371CA
secondary
#C9DCBB
accent
#B92D6A
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A371CA

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

Preview Lab → · Contrast checker → · Palette generator →

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