#A371C9#A371C9

#A371C9 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.5% C 0.137 H 309.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A371C9
RGBrgb(163, 113, 201)
HSLhsl(274, 45%, 62%)
HSVhsv(274, 44%, 79%)
CMYKcmyk(18.9%, 43.8%, 0%, 21.2%)
CIE-LABlab(55.90, 36.28, -38.33)
CIE-LCHlch(55.90, 52.77, 313.43°)
OKLaboklab(63.46% 0.0868 -0.1066)
OKLCHoklch(63.46% 0.137 309.2)
XYZxyz(31.5500, 23.8143, 58.1816)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C9 #97C971
analogous
#7771C9 #A371C9 #C971C3
triadic
#A371C9 #C9A371 #71C9A3
tetradic
#A371C9 #C97771 #97C971 #71C3C9
square
#A371C9 #C97771 #97C971 #71C3C9
split-complementary
#A371C9 #C3C971 #71C977
monochromatic
#66358B #8646B7 #A371C9 #C09DDA #DCCAEB

Accessibility & contrast

On white

3.64
#A371C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A371C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C9#FFFFFF#000000##000000
##A371C91.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CC
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#9E7F93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371c9;
/* rgb */ color: rgb(163, 113, 201);
/* oklch */ color: oklch(63.5% 0.137 309.2);
Tailwind
colors: {
  custom: {
    50: '#c09bda',
    500: '#a371c9',
    950: '#000000',
  },
}
SCSS
$custom: #a371c9;
$custom-light: #c09bda;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c9",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 274.091,
    "s": 44.898,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.13745,
    "h": 309.2
  },
  "luminance": 0.23814
}

Semantic roles & 50–950 ramp

primary
#A371C9
secondary
#C9DBBB
accent
#B82D69
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E15
muted
#817E83

Preview Lab

Preview with #A371C9

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

Preview Lab → · Contrast checker → · Palette generator →

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