#A161E8#A161E8

#A161E8 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.199 H 302.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A161E8
RGBrgb(161, 97, 232)
HSLhsl(268, 75%, 65%)
HSVhsv(268, 58%, 91%)
CMYKcmyk(30.6%, 58.2%, 0%, 9%)
CIE-LABlab(53.98, 51.69, -58.91)
CIE-LCHlch(53.98, 78.37, 311.26°)
OKLaboklab(62.53% 0.108 -0.1667)
OKLCHoklch(62.53% 0.199 302.9)
XYZxyz(33.5348, 21.9527, 78.7989)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E8 #A8E861
analogous
#6165E8 #A161E8 #E461E8
triadic
#A161E8 #E8A161 #61E8A1
tetradic
#A161E8 #E86165 #A8E861 #61E8E4
square
#A161E8 #E86165 #A8E861 #61E8E4
split-complementary
#A161E8 #E8E461 #65E861
monochromatic
#631AB4 #812CE0 #A161E8 #C196F0 #E1CCF8

Accessibility & contrast

On white

3.90
#A161E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A161E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E8#FFFFFF#000000##000000
##A161E81.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2080EC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a161e8;
/* rgb */ color: rgb(161, 97, 232);
/* oklch */ color: oklch(62.5% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#c190f0',
    500: '#a161e8',
    950: '#000000',
  },
}
SCSS
$custom: #a161e8;
$custom-light: #c190f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e8",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 268.444,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.19858,
    "h": 302.9
  },
  "luminance": 0.21953
}

Semantic roles & 50–950 ramp

primary
#A161E8
secondary
#D4EABB
accent
#D70F78
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A161E8

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

Preview Lab → · Contrast checker → · Palette generator →

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