#A181DF#A181DF

#A181DF is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.2% C 0.139 H 298.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A181DF
RGBrgb(161, 129, 223)
HSLhsl(260, 59%, 69%)
HSVhsv(260, 42%, 87%)
CMYKcmyk(27.8%, 42.2%, 0%, 12.5%)
CIE-LABlab(60.43, 31.86, -43.61)
CIE-LCHlch(60.43, 54.01, 306.15°)
OKLaboklab(67.17% 0.0656 -0.122)
OKLCHoklch(67.17% 0.139 298.3)
XYZxyz(35.8644, 28.6050, 73.4296)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181DF #BFDF81
analogous
#8190DF #A181DF #D081DF
triadic
#A181DF #DFA181 #81DFA1
tetradic
#A181DF #DF8190 #BFDF81 #81DFD0
square
#A181DF #DF8190 #BFDF81 #81DFD0
split-complementary
#A181DF #DFD081 #90DF81
monochromatic
#5D2FB7 #7D50D3 #A181DF #C5B2EB #EAE3F8

Accessibility & contrast

On white

3.12
#A181DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A181DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181DF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181DF#FFFFFF#000000##000000
##A181DF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E3
Deuteranopia (green-blind)
#6D91DD
Tritanopia (blue-blind)
#9592A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a181df;
/* rgb */ color: rgb(161, 129, 223);
/* oklch */ color: oklch(67.2% 0.139 298.3);
Tailwind
colors: {
  custom: {
    50: '#bfa6e9',
    500: '#a181df',
    950: '#000000',
  },
}
SCSS
$custom: #a181df;
$custom-light: #bfa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a181df",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 260.426,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.13853,
    "h": 298.3
  },
  "luminance": 0.28605
}

Semantic roles & 50–950 ramp

primary
#A181DF
secondary
#E2ECD0
accent
#C71E8E
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #A181DF

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

Preview Lab → · Contrast checker → · Palette generator →

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