#A162DF#A162DF

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

Color values

HEX#A162DF
RGBrgb(161, 98, 223)
HSLhsl(270, 66%, 63%)
HSVhsv(270, 56%, 87%)
CMYKcmyk(27.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.64, 49.03, -54.38)
CIE-LCHlch(53.64, 73.22, 312.03°)
OKLaboklab(62.11% 0.1067 -0.1534)
OKLCHoklch(62.11% 0.187 304.8)
XYZxyz(32.3820, 21.6403, 72.2688)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162DF #A0DF62
analogous
#6262DF #A162DF #DF62DF
triadic
#A162DF #DFA162 #62DFA1
tetradic
#A162DF #DF6262 #A0DF62 #62DFDF
square
#A162DF #DF6262 #A0DF62 #62DFDF
split-complementary
#A162DF #DFDF62 #62DF62
monochromatic
#6422A5 #832FD5 #A162DF #BF95E9 #DEC8F4

Accessibility & contrast

On white

3.94
#A162DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A162DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162DF#FFFFFF#000000##000000
##A162DF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE3
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#967A97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a162df;
/* rgb */ color: rgb(161, 98, 223);
/* oklch */ color: oklch(62.1% 0.187 304.8);
Tailwind
colors: {
  custom: {
    50: '#c091ea',
    500: '#a162df',
    950: '#000000',
  },
}
SCSS
$custom: #a162df;
$custom-light: #c091ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a162df",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 270.24,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.18683,
    "h": 304.8
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#A162DF
secondary
#CEE5B8
accent
#CE1772
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A162DF

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

Preview Lab → · Contrast checker → · Palette generator →

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