#A162EA#A162EA

#A162EA is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.199 H 302.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A162EA
RGBrgb(161, 98, 234)
HSLhsl(268, 76%, 65%)
HSVhsv(268, 58%, 92%)
CMYKcmyk(31.2%, 58.1%, 0%, 8.2%)
CIE-LABlab(54.29, 51.64, -59.52)
CIE-LCHlch(54.29, 78.80, 310.94°)
OKLaboklab(62.8% 0.1068 -0.1685)
OKLCHoklch(62.8% 0.199 302.4)
XYZxyz(33.9135, 22.2529, 80.3345)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162EA #ABEA62
analogous
#6267EA #A162EA #E562EA
triadic
#A162EA #EAA162 #62EAA1
tetradic
#A162EA #EA6267 #ABEA62 #62EAE5
square
#A162EA #EA6267 #ABEA62 #62EAE5
split-complementary
#A162EA #EAE562 #67EA62
monochromatic
#6319B9 #812CE3 #A162EA #C198F1 #E2CEF8

Accessibility & contrast

On white

3.85
#A162EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A162EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162EA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162EA#FFFFFF#000000##000000
##A162EA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EE
Deuteranopia (green-blind)
#3E81E7
Tritanopia (blue-blind)
#937E9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162ea;
/* rgb */ color: rgb(161, 98, 234);
/* oklch */ color: oklch(62.8% 0.199 302.4);
Tailwind
colors: {
  custom: {
    50: '#c191f1',
    500: '#a162ea',
    950: '#000000',
  },
}
SCSS
$custom: #a162ea;
$custom-light: #c191f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ea",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 267.794,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62797,
    "c": 0.19944,
    "h": 302.4
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

primary
#A162EA
secondary
#D6EBBD
accent
#D90D7A
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162EA

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

Preview Lab → · Contrast checker → · Palette generator →

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