#A162FF#A162FF

#A162FF is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.223 H 298.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A162FF
RGBrgb(161, 98, 255)
HSLhsl(264, 100%, 69%)
HSVhsv(264, 62%, 100%)
CMYKcmyk(36.9%, 61.6%, 0%, 0%)
CIE-LABlab(55.62, 56.76, -69.08)
CIE-LCHlch(55.62, 89.41, 309.41°)
OKLaboklab(64.18% 0.106 -0.1965)
OKLCHoklch(64.18% 0.223 298.3)
XYZxyz(37.1111, 23.5319, 97.1753)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162FF #C0FF62
analogous
#6272FF #A162FF #EF62FF
triadic
#A162FF #FFA162 #62FFA1
tetradic
#A162FF #FF6272 #C0FF62 #62FFEF
square
#A162FF #FF6272 #C0FF62 #62FFEF
split-complementary
#A162FF #FFEF62 #72FF62
monochromatic
#5D00E7 #7C25FF #A162FF #C69FFF #EADCFF

Accessibility & contrast

On white

3.68
#A162FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#A162FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162FF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162FF#FFFFFF#000000##000000
##A162FF1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1684FC
Tritanopia (blue-blind)
#8B85A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a162ff;
/* rgb */ color: rgb(161, 98, 255);
/* oklch */ color: oklch(64.2% 0.223 298.3);
Tailwind
colors: {
  custom: {
    50: '#c292ff',
    500: '#a162ff',
    950: '#000000',
  },
}
SCSS
$custom: #a162ff;
$custom-light: #c292ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a162ff",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 264.076,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.22329,
    "h": 298.3
  },
  "luminance": 0.23532
}

Semantic roles & 50–950 ramp

primary
#A162FF
secondary
#E3F5C8
accent
#E60089
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A162FF

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

Preview Lab → · Contrast checker → · Palette generator →

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