#A162E4#A162E4

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

Color values

HEX#A162E4
RGBrgb(161, 98, 228)
HSLhsl(269, 71%, 64%)
HSVhsv(269, 57%, 89%)
CMYKcmyk(29.4%, 57%, 0%, 10.6%)
CIE-LABlab(53.94, 50.21, -56.73)
CIE-LCHlch(53.94, 75.76, 311.51°)
OKLaboklab(62.42% 0.1068 -0.1603)
OKLCHoklch(62.42% 0.193 303.7)
XYZxyz(33.0661, 21.9139, 75.8716)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162E4 #A5E462
analogous
#6264E4 #A162E4 #E262E4
triadic
#A162E4 #E4A162 #62E4A1
tetradic
#A162E4 #E46264 #A5E462 #62E4E2
square
#A162E4 #E46264 #A5E462 #62E4E2
split-complementary
#A162E4 #E4E262 #64E462
monochromatic
#641EAE #822EDB #A162E4 #C096ED #E0CAF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A162E4#FFFFFF#000000##000000
##A162E41.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)
#2B7FE8
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#957C9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a162e4;
/* rgb */ color: rgb(161, 98, 228);
/* oklch */ color: oklch(62.4% 0.193 303.7);
Tailwind
colors: {
  custom: {
    50: '#c091ed',
    500: '#a162e4',
    950: '#000000',
  },
}
SCSS
$custom: #a162e4;
$custom-light: #c091ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a162e4",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 269.077,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62419,
    "c": 0.19256,
    "h": 303.7
  },
  "luminance": 0.21914
}

Semantic roles & 50–950 ramp

primary
#A162E4
secondary
#D2E8BA
accent
#D31376
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A162E4

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

Preview Lab → · Contrast checker → · Palette generator →

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