#A371EB#A371EB

#A371EB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.3% C 0.179 H 300.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A371EB
RGBrgb(163, 113, 235)
HSLhsl(265, 75%, 68%)
HSVhsv(265, 52%, 92%)
CMYKcmyk(30.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(57.65, 44.31, -54.70)
CIE-LCHlch(57.65, 70.40, 309.01°)
OKLaboklab(65.33% 0.0907 -0.1543)
OKLCHoklch(65.33% 0.179 300.4)
XYZxyz(36.0013, 25.5947, 81.6248)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A371EB #B9EB71
analogous
#717CEB #A371EB #E071EB
triadic
#A371EB #EBA371 #71EBA3
tetradic
#A371EB #EB717C #B9EB71 #71EBE0
square
#A371EB #EB717C #B9EB71 #71EBE0
split-complementary
#A371EB #EBE071 #7CEB71
monochromatic
#611CC6 #803BE3 #A371EB #C6A7F3 #E9DCFA

Accessibility & contrast

On white

3.43
#A371EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A371EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A371EB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A371EB#FFFFFF#000000##000000
##A371EB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#9588A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a371eb;
/* rgb */ color: rgb(163, 113, 235);
/* oklch */ color: oklch(65.3% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#c29bf2',
    500: '#a371eb',
    950: '#000000',
  },
}
SCSS
$custom: #a371eb;
$custom-light: #c29bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a371eb",
  "rgb": {
    "r": 163,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 264.59,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65334,
    "c": 0.17896,
    "h": 300.4
  },
  "luminance": 0.25595
}

Semantic roles & 50–950 ramp

primary
#A371EB
secondary
#DFEEC9
accent
#D70E85
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A371EB

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

Preview Lab → · Contrast checker → · Palette generator →

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