#A162E9#A162E9

#A162E9 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.198 H 302.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A162E9
RGBrgb(161, 98, 233)
HSLhsl(268, 75%, 65%)
HSVhsv(268, 58%, 91%)
CMYKcmyk(30.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(54.23, 51.40, -59.06)
CIE-LCHlch(54.23, 78.30, 311.03°)
OKLaboklab(62.73% 0.1068 -0.1671)
OKLCHoklch(62.73% 0.198 302.6)
XYZxyz(33.7702, 22.1956, 79.5801)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162E9 #AAE962
analogous
#6267E9 #A162E9 #E562E9
triadic
#A162E9 #E9A162 #62E9A1
tetradic
#A162E9 #E96267 #AAE962 #62E9E5
square
#A162E9 #E96267 #AAE962 #62E9E5
split-complementary
#A162E9 #E9E562 #67E962
monochromatic
#631AB7 #812CE1 #A162E9 #C198F1 #E1CDF8

Accessibility & contrast

On white

3.86
#A162E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#A162E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162E9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162E9#FFFFFF#000000##000000
##A162E91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#3F81E6
Tritanopia (blue-blind)
#937D9C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162e9;
/* rgb */ color: rgb(161, 98, 233);
/* oklch */ color: oklch(62.7% 0.198 302.6);
Tailwind
colors: {
  custom: {
    50: '#c191f1',
    500: '#a162e9',
    950: '#000000',
  },
}
SCSS
$custom: #a162e9;
$custom-light: #c191f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a162e9",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 268,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62733,
    "c": 0.1983,
    "h": 302.6
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#A162E9
secondary
#D5EABC
accent
#D80E79
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162E9

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

Preview Lab → · Contrast checker → · Palette generator →

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