#A371CC#A371CC

#A371CC is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.6% C 0.141 H 308.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A371CC
RGBrgb(163, 113, 204)
HSLhsl(273, 47%, 62%)
HSVhsv(273, 45%, 80%)
CMYKcmyk(20.1%, 44.6%, 0%, 20%)
CIE-LABlab(56.04, 36.96, -39.81)
CIE-LCHlch(56.04, 54.32, 312.88°)
OKLaboklab(63.62% 0.0873 -0.1109)
OKLCHoklch(63.62% 0.141 308.2)
XYZxyz(31.9064, 23.9568, 60.0583)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371CC #9ACC71
analogous
#7671CC #A371CC #CC71C8
triadic
#A371CC #CCA371 #71CCA3
tetradic
#A371CC #CC7671 #9ACC71 #71C8CC
square
#A371CC #CC7671 #9ACC71 #71C8CC
split-complementary
#A371CC #C8CC71 #71CC76
monochromatic
#66338F #8644BC #A371CC #C09EDC #DDCBEC

Accessibility & contrast

On white

3.63
#A371CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A371CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371CC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371CC#FFFFFF#000000##000000
##A371CC1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#9D8095
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371cc;
/* rgb */ color: rgb(163, 113, 204);
/* oklch */ color: oklch(63.6% 0.141 308.2);
Tailwind
colors: {
  custom: {
    50: '#c09bdc',
    500: '#a371cc',
    950: '#000000',
  },
}
SCSS
$custom: #a371cc;
$custom-light: #c09bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a371cc",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 272.967,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63615,
    "c": 0.1411,
    "h": 308.2
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#A371CC
secondary
#CBDDBC
accent
#BA2B6C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A371CC

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

Preview Lab → · Contrast checker → · Palette generator →

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