#A371C8#A371C8

#A371C8 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.4% C 0.136 H 309.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A371C8
RGBrgb(163, 113, 200)
HSLhsl(274, 44%, 61%)
HSVhsv(274, 44%, 78%)
CMYKcmyk(18.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(55.85, 36.05, -37.83)
CIE-LCHlch(55.85, 52.26, 313.62°)
OKLaboklab(63.41% 0.0866 -0.1051)
OKLCHoklch(63.41% 0.136 309.5)
XYZxyz(31.4328, 23.7674, 57.5641)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C8 #96C871
analogous
#7871C8 #A371C8 #C871C2
triadic
#A371C8 #C8A371 #71C8A3
tetradic
#A371C8 #C87871 #96C871 #71C2C8
square
#A371C8 #C87871 #96C871 #71C2C8
split-complementary
#A371C8 #C2C871 #71C878
monochromatic
#663589 #8646B6 #A371C8 #C09DD9 #DCC9EA

Accessibility & contrast

On white

3.65
#A371C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A371C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C8
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C8#FFFFFF#000000##000000
##A371C81.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#6A87C6
Tritanopia (blue-blind)
#9E7E93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371c8;
/* rgb */ color: rgb(163, 113, 200);
/* oklch */ color: oklch(63.4% 0.136 309.5);
Tailwind
colors: {
  custom: {
    50: '#c09bd9',
    500: '#a371c8',
    950: '#000000',
  },
}
SCSS
$custom: #a371c8;
$custom-light: #c09bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c8",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 274.483,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.13623,
    "h": 309.5
  },
  "luminance": 0.23767
}

Semantic roles & 50–950 ramp

primary
#A371C8
secondary
#C8DBBA
accent
#B72E69
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A371C8

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

Preview Lab → · Contrast checker → · Palette generator →

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