#A161E7#A161E7

#A161E7 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.5% C 0.197 H 303.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A161E7
RGBrgb(161, 97, 231)
HSLhsl(269, 74%, 64%)
HSVhsv(269, 58%, 91%)
CMYKcmyk(30.3%, 58%, 0%, 9.4%)
CIE-LABlab(53.92, 51.45, -58.45)
CIE-LCHlch(53.92, 77.87, 311.35°)
OKLaboklab(62.46% 0.108 -0.1653)
OKLCHoklch(62.46% 0.197 303.2)
XYZxyz(33.3932, 21.8960, 78.0529)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161E7 #A7E761
analogous
#6164E7 #A161E7 #E461E7
triadic
#A161E7 #E7A161 #61E7A1
tetradic
#A161E7 #E76164 #A7E761 #61E7E4
square
#A161E7 #E76164 #A7E761 #61E7E4
split-complementary
#A161E7 #E7E461 #64E761
monochromatic
#631BB2 #812CDF #A161E7 #C196EF #E0CBF7

Accessibility & contrast

On white

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

On black

5.38
#A161E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161E7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161E7#FFFFFF#000000##000000
##A161E71.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2280EB
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a161e7;
/* rgb */ color: rgb(161, 97, 231);
/* oklch */ color: oklch(62.5% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#c190ef',
    500: '#a161e7',
    950: '#000000',
  },
}
SCSS
$custom: #a161e7;
$custom-light: #c190ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a161e7",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 268.657,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62462,
    "c": 0.19745,
    "h": 303.2
  },
  "luminance": 0.21896
}

Semantic roles & 50–950 ramp

primary
#A161E7
secondary
#D3E9BB
accent
#D61077
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161E7

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

Preview Lab → · Contrast checker → · Palette generator →

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