#A162F0#A162F0

#A162F0 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.206 H 301.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A162F0
RGBrgb(161, 98, 240)
HSLhsl(267, 83%, 66%)
HSVhsv(267, 59%, 94%)
CMYKcmyk(32.9%, 59.2%, 0%, 5.9%)
CIE-LABlab(54.66, 53.09, -62.29)
CIE-LCHlch(54.66, 81.84, 310.44°)
OKLaboklab(63.18% 0.1067 -0.1766)
OKLCHoklch(63.18% 0.206 301.1)
XYZxyz(34.7901, 22.6035, 84.9512)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162F0 #B1F062
analogous
#626AF0 #A162F0 #E862F0
triadic
#A162F0 #F0A162 #62F0A1
tetradic
#A162F0 #F0626A #B1F062 #62F0E8
square
#A162F0 #F0626A #B1F062 #62F0E8
split-complementary
#A162F0 #F0E862 #6AF062
monochromatic
#6213C5 #802AEB #A162F0 #C29AF5 #E4D2FB

Accessibility & contrast

On white

3.80
#A162F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A162F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162F0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162F0#FFFFFF#000000##000000
##A162F01.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E82F5
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#9180A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a162f0;
/* rgb */ color: rgb(161, 98, 240);
/* oklch */ color: oklch(63.2% 0.206 301.1);
Tailwind
colors: {
  custom: {
    50: '#c191f6',
    500: '#a162f0',
    950: '#000000',
  },
}
SCSS
$custom: #a162f0;
$custom-light: #c191f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a162f0",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 266.62,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63182,
    "c": 0.20628,
    "h": 301.1
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#A162F0
secondary
#DAEEC0
accent
#DF077F
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162F0

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

Preview Lab → · Contrast checker → · Palette generator →

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