#A161EF#A161EF

#A161EF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.0% C 0.207 H 301.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A161EF
RGBrgb(161, 97, 239)
HSLhsl(267, 82%, 66%)
HSVhsv(267, 59%, 94%)
CMYKcmyk(32.6%, 59.4%, 0%, 6.3%)
CIE-LABlab(54.41, 53.37, -62.14)
CIE-LCHlch(54.41, 81.91, 310.65°)
OKLaboklab(62.98% 0.1079 -0.1761)
OKLCHoklch(62.98% 0.207 301.5)
XYZxyz(34.5490, 22.3583, 84.1400)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161EF #AFEF61
analogous
#6168EF #A161EF #E861EF
triadic
#A161EF #EFA161 #61EFA1
tetradic
#A161EF #EF6168 #AFEF61 #61EFE8
square
#A161EF #EF6168 #AFEF61 #61EFE8
split-complementary
#A161EF #EFE861 #68EF61
monochromatic
#6214C2 #8029E9 #A161EF #C299F5 #E3D0FA

Accessibility & contrast

On white

3.84
#A161EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#A161EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161EF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161EF#FFFFFF#000000##000000
##A161EF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F4
Deuteranopia (green-blind)
#3681EC
Tritanopia (blue-blind)
#917F9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a161ef;
/* rgb */ color: rgb(161, 97, 239);
/* oklch */ color: oklch(63.0% 0.207 301.5);
Tailwind
colors: {
  custom: {
    50: '#c191f5',
    500: '#a161ef',
    950: '#000000',
  },
}
SCSS
$custom: #a161ef;
$custom-light: #c191f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a161ef",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 267.042,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.20654,
    "h": 301.5
  },
  "luminance": 0.22358
}

Semantic roles & 50–950 ramp

primary
#A161EF
secondary
#D8EDBE
accent
#DE087D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A161EF

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

Preview Lab → · Contrast checker → · Palette generator →

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