#A162E7#A162E7

#A162E7 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.196 H 303.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A162E7
RGBrgb(161, 98, 231)
HSLhsl(268, 73%, 65%)
HSVhsv(268, 58%, 91%)
CMYKcmyk(30.3%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.11, 50.92, -58.13)
CIE-LCHlch(54.11, 77.28, 311.22°)
OKLaboklab(62.61% 0.1068 -0.1644)
OKLCHoklch(62.61% 0.196 303)
XYZxyz(33.4862, 22.0820, 78.0839)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162E7 #A8E762
analogous
#6266E7 #A162E7 #E462E7
triadic
#A162E7 #E7A162 #62E7A1
tetradic
#A162E7 #E76266 #A8E762 #62E7E4
square
#A162E7 #E76266 #A8E762 #62E7E4
split-complementary
#A162E7 #E7E462 #66E762
monochromatic
#631BB3 #812DDF #A162E7 #C197EF #E1CCF7

Accessibility & contrast

On white

3.88
#A162E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A162E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162E7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162E7#FFFFFF#000000##000000
##A162E71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2680EB
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#947D9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a162e7;
/* rgb */ color: rgb(161, 98, 231);
/* oklch */ color: oklch(62.6% 0.196 303.0);
Tailwind
colors: {
  custom: {
    50: '#c191ef',
    500: '#a162e7',
    950: '#000000',
  },
}
SCSS
$custom: #a162e7;
$custom-light: #c191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a162e7",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 268.421,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.196,
    "h": 303
  },
  "luminance": 0.22082
}

Semantic roles & 50–950 ramp

primary
#A162E7
secondary
#D4E9BB
accent
#D61078
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A162E7

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

Preview Lab → · Contrast checker → · Palette generator →

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