#A371C2#A371C2

#A371C2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.1% C 0.129 H 311.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A371C2
RGBrgb(163, 113, 194)
HSLhsl(277, 40%, 60%)
HSVhsv(277, 42%, 76%)
CMYKcmyk(16%, 41.8%, 0%, 23.9%)
CIE-LABlab(55.58, 34.71, -34.85)
CIE-LCHlch(55.58, 49.19, 314.89°)
OKLaboklab(63.11% 0.0855 -0.0965)
OKLCHoklch(63.11% 0.129 311.5)
XYZxyz(30.7453, 23.4924, 53.9433)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C2 #90C271
analogous
#7B71C2 #A371C2 #C271B8
triadic
#A371C2 #C2A371 #71C2A3
tetradic
#A371C2 #C27B71 #90C271 #71B8C2
square
#A371C2 #C27B71 #90C271 #71B8C2
split-complementary
#A371C2 #B8C271 #71C27B
monochromatic
#653781 #864AAC #A371C2 #BF9CD4 #DAC7E7

Accessibility & contrast

On white

3.69
#A371C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A371C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C2#FFFFFF#000000##000000
##A371C21.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#A07D90
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a371c2;
/* rgb */ color: rgb(163, 113, 194);
/* oklch */ color: oklch(63.1% 0.129 311.5);
Tailwind
colors: {
  custom: {
    50: '#bf9bd4',
    500: '#a371c2',
    950: '#000000',
  },
}
SCSS
$custom: #a371c2;
$custom-light: #bf9bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c2",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 277.037,
    "s": 39.901,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6311,
    "c": 0.12898,
    "h": 311.5
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

primary
#A371C2
secondary
#C4D7B8
accent
#B33364
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A371C2

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

Preview Lab → · Contrast checker → · Palette generator →

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