#A371C3#A371C3

#A371C3 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.2% C 0.130 H 311.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A371C3
RGBrgb(163, 113, 195)
HSLhsl(277, 41%, 60%)
HSVhsv(277, 42%, 76%)
CMYKcmyk(16.4%, 42.1%, 0%, 23.5%)
CIE-LABlab(55.62, 34.93, -35.35)
CIE-LCHlch(55.62, 49.70, 314.66°)
OKLaboklab(63.16% 0.0857 -0.098)
OKLCHoklch(63.16% 0.13 311.2)
XYZxyz(30.8580, 23.5374, 54.5368)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C3 #91C371
analogous
#7A71C3 #A371C3 #C371BA
triadic
#A371C3 #C3A371 #71C3A3
tetradic
#A371C3 #C37A71 #91C371 #71BAC3
square
#A371C3 #C37A71 #91C371 #71BAC3
split-complementary
#A371C3 #BAC371 #71C37A
monochromatic
#653782 #8649AD #A371C3 #BF9CD5 #DBC7E7

Accessibility & contrast

On white

3.68
#A371C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A371C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C3#FFFFFF#000000##000000
##A371C31.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C6
Deuteranopia (green-blind)
#6D86C1
Tritanopia (blue-blind)
#A07D91
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a371c3;
/* rgb */ color: rgb(163, 113, 195);
/* oklch */ color: oklch(63.2% 0.130 311.2);
Tailwind
colors: {
  custom: {
    50: '#c09bd5',
    500: '#a371c3',
    950: '#000000',
  },
}
SCSS
$custom: #a371c3;
$custom-light: #c09bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c3",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 276.585,
    "s": 40.594,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6316,
    "c": 0.13018,
    "h": 311.2
  },
  "luminance": 0.23537
}

Semantic roles & 50–950 ramp

primary
#A371C3
secondary
#C4D8B8
accent
#B43265
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A371C3

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

Preview Lab → · Contrast checker → · Palette generator →

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