#A162EF#A162EF

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

Color values

HEX#A162EF
RGBrgb(161, 98, 239)
HSLhsl(267, 82%, 66%)
HSVhsv(267, 59%, 94%)
CMYKcmyk(32.6%, 59%, 0%, 6.3%)
CIE-LABlab(54.60, 52.85, -61.83)
CIE-LCHlch(54.60, 81.34, 310.52°)
OKLaboklab(63.12% 0.1067 -0.1752)
OKLCHoklch(63.12% 0.205 301.3)
XYZxyz(34.6419, 22.5443, 84.1710)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162EF #B0EF62
analogous
#6269EF #A162EF #E862EF
triadic
#A162EF #EFA162 #62EFA1
tetradic
#A162EF #EF6269 #B0EF62 #62EFE8
square
#A162EF #EF6269 #B0EF62 #62EFE8
split-complementary
#A162EF #EFE862 #69EF62
monochromatic
#6214C3 #802AE9 #A162EF #C29AF5 #E4D1FA

Accessibility & contrast

On white

3.81
#A162EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A162EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162EF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162EF#FFFFFF#000000##000000
##A162EF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#917F9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a162ef;
/* rgb */ color: rgb(161, 98, 239);
/* oklch */ color: oklch(63.1% 0.205 301.3);
Tailwind
colors: {
  custom: {
    50: '#c191f5',
    500: '#a162ef',
    950: '#000000',
  },
}
SCSS
$custom: #a162ef;
$custom-light: #c191f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ef",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 266.809,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.20515,
    "h": 301.3
  },
  "luminance": 0.22544
}

Semantic roles & 50–950 ramp

primary
#A162EF
secondary
#D9EEBF
accent
#DE087E
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162EF

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

Preview Lab → · Contrast checker → · Palette generator →

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