#A161E1#A161E1

#A161E1 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.1% C 0.191 H 304.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A161E1
RGBrgb(161, 97, 225)
HSLhsl(270, 68%, 63%)
HSVhsv(270, 57%, 88%)
CMYKcmyk(28.4%, 56.9%, 0%, 11.8%)
CIE-LABlab(53.56, 50.03, -55.65)
CIE-LCHlch(53.56, 74.83, 311.96°)
OKLaboklab(62.09% 0.108 -0.1571)
OKLCHoklch(62.09% 0.191 304.5)
XYZxyz(32.5603, 21.5628, 73.6663)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E1 #A1E161
analogous
#6161E1 #A161E1 #E161E1
triadic
#A161E1 #E1A161 #61E1A1
tetradic
#A161E1 #E16161 #A1E161 #61E1E1
square
#A161E1 #E16161 #A1E161 #61E1E1
split-complementary
#A161E1 #E1E161 #61E161
monochromatic
#6420A8 #822ED7 #A161E1 #C094EB #DEC8F5

Accessibility & contrast

On white

3.95
#A161E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A161E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E1#FFFFFF#000000##000000
##A161E11.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7EE5
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#967A98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a161e1;
/* rgb */ color: rgb(161, 97, 225);
/* oklch */ color: oklch(62.1% 0.191 304.5);
Tailwind
colors: {
  custom: {
    50: '#c090eb',
    500: '#a161e1',
    950: '#000000',
  },
}
SCSS
$custom: #a161e1;
$custom-light: #c090eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e1",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62087,
    "c": 0.19059,
    "h": 304.5
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#A161E1
secondary
#CFE6B8
accent
#D01573
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E1

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

Preview Lab → · Contrast checker → · Palette generator →

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