#A181EB#A181EB

#A181EB is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.8% C 0.154 H 295.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A181EB
RGBrgb(161, 129, 235)
HSLhsl(258, 73%, 71%)
HSVhsv(258, 45%, 92%)
CMYKcmyk(31.5%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.02, 34.85, -49.35)
CIE-LCHlch(61.02, 60.42, 305.23°)
OKLaboklab(67.81% 0.0675 -0.1387)
OKLCHoklch(67.81% 0.154 295.9)
XYZxyz(37.5399, 29.2752, 82.2540)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181EB #CBEB81
analogous
#8196EB #A181EB #D681EB
triadic
#A181EB #EBA181 #81EBA1
tetradic
#A181EB #EB8196 #CBEB81 #81EBD6
square
#A181EB #EB8196 #CBEB81 #81EBD6
split-complementary
#A181EB #EBD681 #96EB81
monochromatic
#5621D1 #7A4CE3 #A181EB #C8B6F3 #EBE5FB

Accessibility & contrast

On white

3.06
#A181EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A181EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181EB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181EB#FFFFFF#000000##000000
##A181EB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#9195AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a181eb;
/* rgb */ color: rgb(161, 129, 235);
/* oklch */ color: oklch(67.8% 0.154 295.9);
Tailwind
colors: {
  custom: {
    50: '#bfa6f2',
    500: '#a181eb',
    950: '#000000',
  },
}
SCSS
$custom: #a181eb;
$custom-light: #bfa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a181eb",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 258.113,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.15424,
    "h": 295.9
  },
  "luminance": 0.29276
}

Semantic roles & 50–950 ramp

primary
#A181EB
secondary
#E9F2D6
accent
#D5119A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A181EB

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

Preview Lab → · Contrast checker → · Palette generator →

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