#A371DC#A371DC

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

Color values

HEX#A371DC
RGBrgb(163, 113, 220)
HSLhsl(268, 60%, 65%)
HSVhsv(268, 49%, 86%)
CMYKcmyk(25.9%, 48.6%, 0%, 13.7%)
CIE-LABlab(56.84, 40.69, -47.58)
CIE-LCHlch(56.84, 62.61, 310.53°)
OKLaboklab(64.47% 0.0894 -0.1335)
OKLCHoklch(64.47% 0.161 303.8)
XYZxyz(33.9248, 24.7642, 70.6890)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371DC #AADC71
analogous
#7175DC #A371DC #D871DC
triadic
#A371DC #DCA371 #71DCA3
tetradic
#A371DC #DC7175 #AADC71 #71DCD8
square
#A371DC #DC7175 #AADC71 #71DCD8
split-complementary
#A371DC #DCD871 #75DC71
monochromatic
#652AA9 #8340D0 #A371DC #C3A2E8 #E3D3F4

Accessibility & contrast

On white

3.53
#A371DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#A371DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371DC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371DC#FFFFFF#000000##000000
##A371DC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#99849C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a371dc;
/* rgb */ color: rgb(163, 113, 220);
/* oklch */ color: oklch(64.5% 0.161 303.8);
Tailwind
colors: {
  custom: {
    50: '#c19be7',
    500: '#a371dc',
    950: '#000000',
  },
}
SCSS
$custom: #a371dc;
$custom-light: #c19be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a371dc",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 268.037,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64474,
    "c": 0.16065,
    "h": 303.8
  },
  "luminance": 0.24764
}

Semantic roles & 50–950 ramp

primary
#A371DC
secondary
#D6E6C2
accent
#C81D78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A371DC

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

Preview Lab → · Contrast checker → · Palette generator →

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