#A371CB#A371CB

#A371CB is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.6% C 0.140 H 308.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A371CB
RGBrgb(163, 113, 203)
HSLhsl(273, 46%, 62%)
HSVhsv(273, 44%, 80%)
CMYKcmyk(19.7%, 44.3%, 0%, 20.4%)
CIE-LABlab(56.00, 36.73, -39.31)
CIE-LCHlch(56.00, 53.80, 313.05°)
OKLaboklab(63.56% 0.0871 -0.1094)
OKLCHoklch(63.56% 0.14 308.5)
XYZxyz(31.7868, 23.9090, 59.4287)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371CB #99CB71
analogous
#7671CB #A371CB #CB71C6
triadic
#A371CB #CBA371 #71CBA3
tetradic
#A371CB #CB7671 #99CB71 #71C6CB
square
#A371CB #CB7671 #99CB71 #71C6CB
split-complementary
#A371CB #C6CB71 #71CB76
monochromatic
#66348E #8644BB #A371CB #C09EDB #DDCBEC

Accessibility & contrast

On white

3.63
#A371CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A371CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371CB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371CB#FFFFFF#000000##000000
##A371CB1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#9E7F94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a371cb;
/* rgb */ color: rgb(163, 113, 203);
/* oklch */ color: oklch(63.6% 0.140 308.5);
Tailwind
colors: {
  custom: {
    50: '#c09bdb',
    500: '#a371cb',
    950: '#000000',
  },
}
SCSS
$custom: #a371cb;
$custom-light: #c09bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a371cb",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 273.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63564,
    "c": 0.13988,
    "h": 308.5
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#A371CB
secondary
#CADCBB
accent
#BA2C6B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A371CB

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

Preview Lab → · Contrast checker → · Palette generator →

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