#A180E9#A180E9

#A180E9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.5% C 0.153 H 296.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A180E9
RGBrgb(161, 128, 233)
HSLhsl(259, 70%, 71%)
HSVhsv(259, 45%, 91%)
CMYKcmyk(30.9%, 45.1%, 0%, 8.6%)
CIE-LABlab(60.69, 34.91, -48.77)
CIE-LCHlch(60.69, 59.98, 305.60°)
OKLaboklab(67.53% 0.0685 -0.137)
OKLCHoklch(67.53% 0.153 296.6)
XYZxyz(37.1215, 28.8981, 80.6971)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A180E9 #C8E980
analogous
#8093E9 #A180E9 #D580E9
triadic
#A180E9 #E9A180 #80E9A1
tetradic
#A180E9 #E98093 #C8E980 #80E9D5
square
#A180E9 #E98093 #C8E980 #80E9D5
split-complementary
#A180E9 #E9D580 #93E980
monochromatic
#5823CB #7A4CE0 #A180E9 #C8B4F2 #ECE5FA

Accessibility & contrast

On white

3.10
#A180E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A180E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A180E9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A180E9#FFFFFF#000000##000000
##A180E91.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93ED
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#9193A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a180e9;
/* rgb */ color: rgb(161, 128, 233);
/* oklch */ color: oklch(67.5% 0.153 296.6);
Tailwind
colors: {
  custom: {
    50: '#bfa5f0',
    500: '#a180e9',
    950: '#000000',
  },
}
SCSS
$custom: #a180e9;
$custom-light: #bfa5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a180e9",
  "rgb": {
    "r": 161,
    "g": 128,
    "b": 233
  },
  "hsl": {
    "h": 258.857,
    "s": 70.47,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67525,
    "c": 0.15318,
    "h": 296.6
  },
  "luminance": 0.28899
}

Semantic roles & 50–950 ramp

primary
#A180E9
secondary
#E8F1D4
accent
#D21396
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #A180E9

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

Preview Lab → · Contrast checker → · Palette generator →

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