#A162EC#A162EC

#A162EC is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.9% C 0.202 H 301.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A162EC
RGBrgb(161, 98, 236)
HSLhsl(267, 78%, 65%)
HSVhsv(267, 58%, 93%)
CMYKcmyk(31.8%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.42, 52.12, -60.45)
CIE-LCHlch(54.42, 79.82, 310.77°)
OKLaboklab(62.92% 0.1067 -0.1712)
OKLCHoklch(62.92% 0.202 301.9)
XYZxyz(34.2024, 22.3685, 81.8563)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162EC #ADEC62
analogous
#6268EC #A162EC #E662EC
triadic
#A162EC #ECA162 #62ECA1
tetradic
#A162EC #EC6268 #ADEC62 #62ECE6
square
#A162EC #EC6268 #ADEC62 #62ECE6
split-complementary
#A162EC #ECE662 #68EC62
monochromatic
#6317BD #802BE5 #A162EC #C299F3 #E2CFF9

Accessibility & contrast

On white

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

On black

5.47
#A162EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162EC#FFFFFF#000000##000000
##A162EC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81F0
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#927E9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162ec;
/* rgb */ color: rgb(161, 98, 236);
/* oklch */ color: oklch(62.9% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#c191f3',
    500: '#a162ec',
    950: '#000000',
  },
}
SCSS
$custom: #a162ec;
$custom-light: #c191f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ec",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 267.391,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62924,
    "c": 0.20172,
    "h": 301.9
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#A162EC
secondary
#D7ECBE
accent
#DB0B7C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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