#A371BC#A371BC

#A371BC is a light, vivid purple. Relative luminance 0.232; OKLCH L 62.8% C 0.122 H 313.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A371BC
RGBrgb(163, 113, 188)
HSLhsl(280, 36%, 59%)
HSVhsv(280, 40%, 74%)
CMYKcmyk(13.3%, 39.9%, 0%, 26.3%)
CIE-LABlab(55.31, 33.40, -31.84)
CIE-LCHlch(55.31, 46.14, 316.37°)
OKLaboklab(62.82% 0.0843 -0.0879)
OKLCHoklch(62.82% 0.122 313.8)
XYZxyz(30.0850, 23.2282, 50.4659)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371BC #8ABC71
analogous
#7E71BC #A371BC #BC71B0
triadic
#A371BC #BCA371 #71BCA3
tetradic
#A371BC #BC7E71 #8ABC71 #71B0BC
square
#A371BC #BC7E71 #8ABC71 #71B0BC
split-complementary
#A371BC #B0BC71 #71BC7E
monochromatic
#643979 #864DA3 #A371BC #BE9BD0 #D9C4E3

Accessibility & contrast

On white

3.72
#A371BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A371BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371BC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371BC#FFFFFF#000000##000000
##A371BC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#A17B8E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a371bc;
/* rgb */ color: rgb(163, 113, 188);
/* oklch */ color: oklch(62.8% 0.122 313.8);
Tailwind
colors: {
  custom: {
    50: '#bf9ad0',
    500: '#a371bc',
    950: '#000000',
  },
}
SCSS
$custom: #a371bc;
$custom-light: #bf9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#a371bc",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 280,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.1218,
    "h": 313.8
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#A371BC
secondary
#BFD3B6
accent
#CC5C81
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A371BC

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

Preview Lab → · Contrast checker → · Palette generator →

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