#A371C7#A371C7

#A371C7 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.4% C 0.135 H 309.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A371C7
RGBrgb(163, 113, 199)
HSLhsl(275, 43%, 61%)
HSVhsv(275, 43%, 78%)
CMYKcmyk(18.1%, 43.2%, 0%, 22%)
CIE-LABlab(55.81, 35.83, -37.34)
CIE-LCHlch(55.81, 51.75, 313.82°)
OKLaboklab(63.36% 0.0864 -0.1037)
OKLCHoklch(63.36% 0.135 309.8)
XYZxyz(31.3163, 23.7208, 56.9506)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371C7 #95C771
analogous
#7871C7 #A371C7 #C771C0
triadic
#A371C7 #C7A371 #71C7A3
tetradic
#A371C7 #C77871 #95C771 #71C0C7
square
#A371C7 #C77871 #95C771 #71C0C7
split-complementary
#A371C7 #C0C771 #71C778
monochromatic
#663688 #8647B4 #A371C7 #BF9DD8 #DCC9EA

Accessibility & contrast

On white

3.66
#A371C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A371C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371C7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371C7#FFFFFF#000000##000000
##A371C71.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#9F7E92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371c7;
/* rgb */ color: rgb(163, 113, 199);
/* oklch */ color: oklch(63.4% 0.135 309.8);
Tailwind
colors: {
  custom: {
    50: '#c09bd8',
    500: '#a371c7',
    950: '#000000',
  },
}
SCSS
$custom: #a371c7;
$custom-light: #c09bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a371c7",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 274.884,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.13502,
    "h": 309.8
  },
  "luminance": 0.2372
}

Semantic roles & 50–950 ramp

primary
#A371C7
secondary
#C7DABA
accent
#B72F68
background
#FBF9FD
surface
#F7F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #A371C7

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

Preview Lab → · Contrast checker → · Palette generator →

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