#A162E6#A162E6

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

Color values

HEX#A162E6
RGBrgb(161, 98, 230)
HSLhsl(269, 73%, 64%)
HSVhsv(269, 57%, 90%)
CMYKcmyk(30%, 57.4%, 0%, 9.8%)
CIE-LABlab(54.05, 50.69, -57.67)
CIE-LCHlch(54.05, 76.78, 311.31°)
OKLaboklab(62.54% 0.1068 -0.163)
OKLCHoklch(62.54% 0.195 303.2)
XYZxyz(33.3453, 22.0256, 77.3422)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162E6 #A7E662
analogous
#6265E6 #A162E6 #E362E6
triadic
#A162E6 #E6A162 #62E6A1
tetradic
#A162E6 #E66265 #A7E662 #62E6E3
square
#A162E6 #E66265 #A7E662 #62E6E3
split-complementary
#A162E6 #E6E362 #65E662
monochromatic
#631CB1 #812DDE #A162E6 #C197EE #E0CCF7

Accessibility & contrast

On white

3.89
#A162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A162E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162E6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162E6#FFFFFF#000000##000000
##A162E61.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#4381E3
Tritanopia (blue-blind)
#947C9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a162e6;
/* rgb */ color: rgb(161, 98, 230);
/* oklch */ color: oklch(62.5% 0.195 303.2);
Tailwind
colors: {
  custom: {
    50: '#c191ef',
    500: '#a162e6',
    950: '#000000',
  },
}
SCSS
$custom: #a162e6;
$custom-light: #c191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a162e6",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 268.636,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.19486,
    "h": 303.2
  },
  "luminance": 0.22026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A162E6

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

Preview Lab → · Contrast checker → · Palette generator →

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