#A371CD#A371CD

#A371CD is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.7% C 0.142 H 307.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A371CD
RGBrgb(163, 113, 205)
HSLhsl(273, 48%, 62%)
HSVhsv(273, 45%, 80%)
CMYKcmyk(20.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(56.09, 37.19, -40.30)
CIE-LCHlch(56.09, 54.84, 312.70°)
OKLaboklab(63.67% 0.0874 -0.1123)
OKLCHoklch(63.67% 0.142 307.9)
XYZxyz(32.0267, 24.0049, 60.6920)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371CD #9BCD71
analogous
#7571CD #A371CD #CD71C9
triadic
#A371CD #CDA371 #71CDA3
tetradic
#A371CD #CD7571 #9BCD71 #71C9CD
square
#A371CD #CD7571 #9BCD71 #71C9CD
split-complementary
#A371CD #C9CD71 #71CD75
monochromatic
#663391 #8644BD #A371CD #C09EDD #DECCED

Accessibility & contrast

On white

3.62
#A371CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A371CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371CD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371CD#FFFFFF#000000##000000
##A371CD1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a371cd;
/* rgb */ color: rgb(163, 113, 205);
/* oklch */ color: oklch(63.7% 0.142 307.9);
Tailwind
colors: {
  custom: {
    50: '#c09bdc',
    500: '#a371cd',
    950: '#000000',
  },
}
SCSS
$custom: #a371cd;
$custom-light: #c09bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a371cd",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 272.609,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63667,
    "c": 0.14231,
    "h": 307.9
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#A371CD
secondary
#CBDEBC
accent
#BB2A6C
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A371CD

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

Preview Lab → · Contrast checker → · Palette generator →

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