#A371DB#A371DB

#A371DB is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.4% C 0.159 H 304.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A371DB
RGBrgb(163, 113, 219)
HSLhsl(268, 60%, 65%)
HSVhsv(268, 48%, 86%)
CMYKcmyk(25.6%, 48.4%, 0%, 14.1%)
CIE-LABlab(56.79, 40.45, -47.10)
CIE-LCHlch(56.79, 62.09, 310.65°)
OKLaboklab(64.42% 0.0893 -0.1321)
OKLCHoklch(64.42% 0.159 304.1)
XYZxyz(33.7928, 24.7114, 69.9936)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371DB #A9DB71
analogous
#7174DB #A371DB #D871DB
triadic
#A371DB #DBA371 #71DBA3
tetradic
#A371DB #DB7174 #A9DB71 #71DBD8
square
#A371DB #DB7174 #A9DB71 #71DBD8
split-complementary
#A371DB #DBD871 #74DB71
monochromatic
#652AA7 #8340CF #A371DB #C3A2E7 #E2D3F4

Accessibility & contrast

On white

3.53
#A371DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A371DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371DB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371DB#FFFFFF#000000##000000
##A371DB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#99849C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a371db;
/* rgb */ color: rgb(163, 113, 219);
/* oklch */ color: oklch(64.4% 0.159 304.1);
Tailwind
colors: {
  custom: {
    50: '#c19be6',
    500: '#a371db',
    950: '#000000',
  },
}
SCSS
$custom: #a371db;
$custom-light: #c19be6;
$custom-dark: #000000;
JSON
{
  "hex": "#a371db",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 268.302,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.15942,
    "h": 304.1
  },
  "luminance": 0.24711
}

Semantic roles & 50–950 ramp

primary
#A371DB
secondary
#D5E6C2
accent
#C71E78
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A371DB

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

Preview Lab → · Contrast checker → · Palette generator →

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