#A162EB#A162EB

#A162EB is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.9% C 0.201 H 302.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A162EB
RGBrgb(161, 98, 235)
HSLhsl(268, 77%, 65%)
HSVhsv(268, 58%, 92%)
CMYKcmyk(31.5%, 58.3%, 0%, 7.8%)
CIE-LABlab(54.35, 51.88, -59.99)
CIE-LCHlch(54.35, 79.31, 310.86°)
OKLaboklab(62.86% 0.1068 -0.1698)
OKLCHoklch(62.86% 0.201 302.2)
XYZxyz(34.0575, 22.3105, 81.0933)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162EB #ACEB62
analogous
#6268EB #A162EB #E562EB
triadic
#A162EB #EBA162 #62EBA1
tetradic
#A162EB #EB6268 #ACEB62 #62EBE5
square
#A162EB #EB6268 #ACEB62 #62EBE5
split-complementary
#A162EB #EBE562 #68EB62
monochromatic
#6318BB #802CE4 #A162EB #C298F2 #E2CFF9

Accessibility & contrast

On white

3.84
#A162EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A162EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162EB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162EB#FFFFFF#000000##000000
##A162EB1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81EF
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#927E9D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162eb;
/* rgb */ color: rgb(161, 98, 235);
/* oklch */ color: oklch(62.9% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#c191f2',
    500: '#a162eb',
    950: '#000000',
  },
}
SCSS
$custom: #a162eb;
$custom-light: #c191f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a162eb",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 267.591,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.20058,
    "h": 302.2
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A162EB

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

Preview Lab → · Contrast checker → · Palette generator →

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