#A162DE#A162DE

#A162DE is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.1% C 0.186 H 305.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A162DE
RGBrgb(161, 98, 222)
HSLhsl(270, 65%, 63%)
HSVhsv(270, 56%, 87%)
CMYKcmyk(27.5%, 55.9%, 0%, 12.9%)
CIE-LABlab(53.59, 48.79, -53.91)
CIE-LCHlch(53.59, 72.71, 312.15°)
OKLaboklab(62.05% 0.1067 -0.152)
OKLCHoklch(62.05% 0.186 305.1)
XYZxyz(32.2476, 21.5865, 71.5608)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162DE #9FDE62
analogous
#6362DE #A162DE #DE62DD
triadic
#A162DE #DEA162 #62DEA1
tetradic
#A162DE #DE6362 #9FDE62 #62DDDE
square
#A162DE #DE6362 #9FDE62 #62DDDE
split-complementary
#A162DE #DDDE62 #62DE63
monochromatic
#6422A3 #832FD3 #A162DE #BF95E9 #DEC7F3

Accessibility & contrast

On white

3.95
#A162DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A162DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162DE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162DE#FFFFFF#000000##000000
##A162DE1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337EE2
Deuteranopia (green-blind)
#4B80DB
Tritanopia (blue-blind)
#977A97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a162de;
/* rgb */ color: rgb(161, 98, 222);
/* oklch */ color: oklch(62.1% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#c091e9',
    500: '#a162de',
    950: '#000000',
  },
}
SCSS
$custom: #a162de;
$custom-light: #c091e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a162de",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 270.484,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6205,
    "c": 0.18568,
    "h": 305.1
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#A162DE
secondary
#CEE4B7
accent
#CD1871
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A162DE

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

Preview Lab → · Contrast checker → · Palette generator →

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