#A161E4#A161E4

#A161E4 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.3% C 0.194 H 303.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A161E4
RGBrgb(161, 97, 228)
HSLhsl(269, 71%, 64%)
HSVhsv(269, 57%, 89%)
CMYKcmyk(29.4%, 57.5%, 0%, 10.6%)
CIE-LABlab(53.74, 50.73, -57.05)
CIE-LCHlch(53.74, 76.35, 311.65°)
OKLaboklab(62.27% 0.108 -0.1612)
OKLCHoklch(62.27% 0.194 303.8)
XYZxyz(32.9731, 21.7280, 75.8406)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E4 #A4E461
analogous
#6162E4 #A161E4 #E261E4
triadic
#A161E4 #E4A161 #61E4A1
tetradic
#A161E4 #E46162 #A4E461 #61E4E2
square
#A161E4 #E46162 #A4E461 #61E4E2
split-complementary
#A161E4 #E4E261 #62E461
monochromatic
#641EAD #822DDB #A161E4 #C095ED #DFCAF6

Accessibility & contrast

On white

3.93
#A161E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A161E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E4#FFFFFF#000000##000000
##A161E41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#957B99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a161e4;
/* rgb */ color: rgb(161, 97, 228);
/* oklch */ color: oklch(62.3% 0.194 303.8);
Tailwind
colors: {
  custom: {
    50: '#c090ed',
    500: '#a161e4',
    950: '#000000',
  },
}
SCSS
$custom: #a161e4;
$custom-light: #c090ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e4",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 269.313,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.19402,
    "h": 303.8
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#A161E4
secondary
#D1E7B9
accent
#D31375
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E4

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

Preview Lab → · Contrast checker → · Palette generator →

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