#A181DC#A181DC

#A181DC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.0% C 0.135 H 298.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A181DC
RGBrgb(161, 129, 220)
HSLhsl(261, 57%, 68%)
HSVhsv(261, 41%, 86%)
CMYKcmyk(26.8%, 41.4%, 0%, 13.7%)
CIE-LABlab(60.29, 31.13, -42.16)
CIE-LCHlch(60.29, 52.41, 306.44°)
OKLaboklab(67.01% 0.0651 -0.1178)
OKLCHoklch(67.01% 0.135 298.9)
XYZxyz(35.4635, 28.4446, 71.3183)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181DC #BCDC81
analogous
#818EDC #A181DC #CE81DC
triadic
#A181DC #DCA181 #81DCA1
tetradic
#A181DC #DC818E #BCDC81 #81DCCE
square
#A181DC #DC818E #BCDC81 #81DCCE
split-complementary
#A181DC #DCCE81 #8EDC81
monochromatic
#5E31B1 #7D51CF #A181DC #C5B1E9 #E8E1F7

Accessibility & contrast

On white

3.14
#A181DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A181DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181DC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181DC#FFFFFF#000000##000000
##A181DC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#6E91DA
Tritanopia (blue-blind)
#9591A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a181dc;
/* rgb */ color: rgb(161, 129, 220);
/* oklch */ color: oklch(67.0% 0.135 298.9);
Tailwind
colors: {
  custom: {
    50: '#bfa6e7',
    500: '#a181dc',
    950: '#000000',
  },
}
SCSS
$custom: #a181dc;
$custom-light: #bfa6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a181dc",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 261.099,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67014,
    "c": 0.13458,
    "h": 298.9
  },
  "luminance": 0.28445
}

Semantic roles & 50–950 ramp

primary
#A181DC
secondary
#E0EACF
accent
#C4218B
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A181DC

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

Preview Lab → · Contrast checker → · Palette generator →

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