#A162F6#A162F6

#A162F6 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.213 H 300.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A162F6
RGBrgb(161, 98, 246)
HSLhsl(266, 89%, 67%)
HSVhsv(266, 60%, 96%)
CMYKcmyk(34.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(55.04, 54.55, -65.03)
CIE-LCHlch(55.04, 84.88, 309.99°)
OKLaboklab(63.58% 0.1065 -0.1846)
OKLCHoklch(63.58% 0.213 300)
XYZxyz(35.6961, 22.9660, 89.7232)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162F6 #B7F662
analogous
#626DF6 #A162F6 #EB62F6
triadic
#A162F6 #F6A162 #62F6A1
tetradic
#A162F6 #F6626D #B7F662 #62F6EB
square
#A162F6 #F6626D #B7F662 #62F6EB
split-complementary
#A162F6 #F6EB62 #6DF662
monochromatic
#600CD2 #7E28F3 #A162F6 #C49CF9 #E6D6FD

Accessibility & contrast

On white

3.75
#A162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162F6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162F6#FFFFFF#000000##000000
##A162F61.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#2D83F3
Tritanopia (blue-blind)
#8F82A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a162f6;
/* rgb */ color: rgb(161, 98, 246);
/* oklch */ color: oklch(63.6% 0.213 300.0);
Tailwind
colors: {
  custom: {
    50: '#c291fa',
    500: '#a162f6',
    950: '#000000',
  },
}
SCSS
$custom: #a162f6;
$custom-light: #c291fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a162f6",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 265.541,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63576,
    "c": 0.21312,
    "h": 300
  },
  "luminance": 0.22966
}

Semantic roles & 50–950 ramp

primary
#A162F6
secondary
#DDF1C3
accent
#E60084
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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