#A181EF#A181EF

#A181EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.159 H 295.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A181EF
RGBrgb(161, 129, 239)
HSLhsl(257, 77%, 72%)
HSVhsv(257, 46%, 94%)
CMYKcmyk(32.6%, 46%, 0%, 6.3%)
CIE-LABlab(61.23, 35.86, -51.24)
CIE-LCHlch(61.23, 62.55, 304.99°)
OKLaboklab(68.03% 0.068 -0.1442)
OKLCHoklch(68.03% 0.159 295.2)
XYZxyz(38.1243, 29.5090, 85.3318)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181EF #CFEF81
analogous
#8198EF #A181EF #D881EF
triadic
#A181EF #EFA181 #81EFA1
tetradic
#A181EF #EF8198 #CFEF81 #81EFD8
square
#A181EF #EF8198 #CFEF81 #81EFD8
split-complementary
#A181EF #EFD881 #98EF81
monochromatic
#531CDA #784BE8 #A181EF #CAB7F6 #EBE4FC

Accessibility & contrast

On white

3.04
#A181EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#A181EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181EF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181EF#FFFFFF#000000##000000
##A181EF1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#6292EC
Tritanopia (blue-blind)
#8F96AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a181ef;
/* rgb */ color: rgb(161, 129, 239);
/* oklch */ color: oklch(68.0% 0.159 295.2);
Tailwind
colors: {
  custom: {
    50: '#c0a6f5',
    500: '#a181ef',
    950: '#000000',
  },
}
SCSS
$custom: #a181ef;
$custom-light: #c0a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a181ef",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 257.455,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68028,
    "c": 0.15945,
    "h": 295.2
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#A181EF
secondary
#EBF3D8
accent
#DA0C9E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #A181EF

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

Preview Lab → · Contrast checker → · Palette generator →

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