#A371C0#A371C0

#A371C0 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.127 H 312.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#A371C0
RGBrgb(163, 113, 192)
HSLhsl(278, 39%, 60%)
HSVhsv(278, 41%, 75%)
CMYKcmyk(15.1%, 41.1%, 0%, 24.7%)
CIE-LABlab(55.49, 34.27, -33.85)
CIE-LCHlch(55.49, 48.17, 315.36°)
OKLaboklab(63.01% 0.0851 -0.0937)
OKLCHoklch(63.01% 0.127 312.3)
XYZxyz(30.5222, 23.4031, 52.7683)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C0 #8EC071
analogous
#7C71C0 #A371C0 #C071B6
triadic
#A371C0 #C0A371 #71C0A3
tetradic
#A371C0 #C07C71 #8EC071 #71B6C0
square
#A371C0 #C07C71 #8EC071 #71B6C0
split-complementary
#A371C0 #B6C071 #71C07C
monochromatic
#65387E #864BA9 #A371C0 #BE9BD3 #DAC6E6

Accessibility & contrast

On white

3.70
#A371C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#A371C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C0#FFFFFF#000000##000000
##A371C01.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C3
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#A07C8F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a371c0;
/* rgb */ color: rgb(163, 113, 192);
/* oklch */ color: oklch(63.0% 0.127 312.3);
Tailwind
colors: {
  custom: {
    50: '#bf9bd3',
    500: '#a371c0',
    950: '#000000',
  },
}
SCSS
$custom: #a371c0;
$custom-light: #bf9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c0",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 277.975,
    "s": 38.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.12657,
    "h": 312.3
  },
  "luminance": 0.23403
}

Semantic roles & 50–950 ramp

primary
#A371C0
secondary
#C2D6B7
accent
#CE5984
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A371C0

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

Preview Lab → · Contrast checker → · Palette generator →

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