#A162EE#A162EE

#A162EE is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.1% C 0.204 H 301.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A162EE
RGBrgb(161, 98, 238)
HSLhsl(267, 80%, 66%)
HSVhsv(267, 59%, 93%)
CMYKcmyk(32.4%, 58.8%, 0%, 6.7%)
CIE-LABlab(54.54, 52.60, -61.37)
CIE-LCHlch(54.54, 80.83, 310.60°)
OKLaboklab(63.05% 0.1067 -0.1739)
OKLCHoklch(63.05% 0.204 301.5)
XYZxyz(34.4946, 22.4854, 83.3952)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162EE #AFEE62
analogous
#6269EE #A162EE #E762EE
triadic
#A162EE #EEA162 #62EEA1
tetradic
#A162EE #EE6269 #AFEE62 #62EEE7
square
#A162EE #EE6269 #AFEE62 #62EEE7
split-complementary
#A162EE #EEE762 #69EE62
monochromatic
#6215C1 #802BE8 #A162EE #C299F4 #E3D0FA

Accessibility & contrast

On white

3.82
#A162EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#A162EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162EE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162EE#FFFFFF#000000##000000
##A162EE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F3
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#917F9F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a162ee;
/* rgb */ color: rgb(161, 98, 238);
/* oklch */ color: oklch(63.1% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#c191f4',
    500: '#a162ee',
    950: '#000000',
  },
}
SCSS
$custom: #a162ee;
$custom-light: #c191f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ee",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 267,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63053,
    "c": 0.20401,
    "h": 301.5
  },
  "luminance": 0.22485
}

Semantic roles & 50–950 ramp

primary
#A162EE
secondary
#D8EDBF
accent
#DD097D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162EE

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

Preview Lab → · Contrast checker → · Palette generator →

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