#A162F1#A162F1

#A162F1 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.207 H 300.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A162F1
RGBrgb(161, 98, 241)
HSLhsl(266, 84%, 66%)
HSVhsv(266, 59%, 95%)
CMYKcmyk(33.2%, 59.3%, 0%, 5.5%)
CIE-LABlab(54.72, 53.33, -62.75)
CIE-LCHlch(54.72, 82.35, 310.36°)
OKLaboklab(63.25% 0.1066 -0.1779)
OKLCHoklch(63.25% 0.207 300.9)
XYZxyz(34.9390, 22.6631, 85.7357)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162F1 #B2F162
analogous
#626BF1 #A162F1 #E962F1
triadic
#A162F1 #F1A162 #62F1A1
tetradic
#A162F1 #F1626B #B2F162 #62F1E9
square
#A162F1 #F1626B #B2F162 #62F1E9
split-complementary
#A162F1 #F1E962 #6BF162
monochromatic
#6212C7 #7F2AEC #A162F1 #C39AF6 #E4D2FB

Accessibility & contrast

On white

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

On black

5.53
#A162F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162F1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162F1#FFFFFF#000000##000000
##A162F11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0982F6
Deuteranopia (green-blind)
#3582EE
Tritanopia (blue-blind)
#9080A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a162f1;
/* rgb */ color: rgb(161, 98, 241);
/* oklch */ color: oklch(63.2% 0.207 300.9);
Tailwind
colors: {
  custom: {
    50: '#c191f6',
    500: '#a162f1',
    950: '#000000',
  },
}
SCSS
$custom: #a162f1;
$custom-light: #c191f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a162f1",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 266.434,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.20743,
    "h": 300.9
  },
  "luminance": 0.22663
}

Semantic roles & 50–950 ramp

primary
#A162F1
secondary
#DAEFC0
accent
#E00580
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162F1

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

Preview Lab → · Contrast checker → · Palette generator →

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