#A371DD#A371DD

#A371DD is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.5% C 0.162 H 303.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A371DD
RGBrgb(163, 113, 221)
HSLhsl(268, 61%, 65%)
HSVhsv(268, 49%, 87%)
CMYKcmyk(26.2%, 48.9%, 0%, 13.3%)
CIE-LABlab(56.90, 40.93, -48.06)
CIE-LCHlch(56.90, 63.13, 310.41°)
OKLaboklab(64.53% 0.0895 -0.1349)
OKLCHoklch(64.53% 0.162 303.6)
XYZxyz(34.0577, 24.8173, 71.3886)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371DD #ABDD71
analogous
#7175DD #A371DD #D971DD
triadic
#A371DD #DDA371 #71DDA3
tetradic
#A371DD #DD7175 #ABDD71 #71DDD9
square
#A371DD #DD7175 #ABDD71 #71DDD9
split-complementary
#A371DD #DDD971 #75DD71
monochromatic
#6529AB #8340D1 #A371DD #C3A2E9 #E3D4F5

Accessibility & contrast

On white

3.52
#A371DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#A371DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371DD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371DD#FFFFFF#000000##000000
##A371DD1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E1
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#99849D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a371dd;
/* rgb */ color: rgb(163, 113, 221);
/* oklch */ color: oklch(64.5% 0.162 303.6);
Tailwind
colors: {
  custom: {
    50: '#c19be8',
    500: '#a371dd',
    950: '#000000',
  },
}
SCSS
$custom: #a371dd;
$custom-light: #c19be8;
$custom-dark: #000000;
JSON
{
  "hex": "#a371dd",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 267.778,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.16187,
    "h": 303.6
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#A371DD
secondary
#D6E7C3
accent
#C91C79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A371DD

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

Preview Lab → · Contrast checker → · Palette generator →

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