#A162F9#A162F9

#A162F9 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.8% C 0.217 H 299.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A162F9
RGBrgb(161, 98, 249)
HSLhsl(265, 93%, 68%)
HSVhsv(265, 61%, 98%)
CMYKcmyk(35.3%, 60.6%, 0%, 2.4%)
CIE-LABlab(55.23, 55.28, -66.39)
CIE-LCHlch(55.23, 86.39, 309.79°)
OKLaboklab(63.78% 0.1063 -0.1886)
OKLCHoklch(63.78% 0.217 299.4)
XYZxyz(36.1603, 23.1516, 92.1678)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162F9 #BAF962
analogous
#626EF9 #A162F9 #EC62F9
triadic
#A162F9 #F9A162 #62F9A1
tetradic
#A162F9 #F9626E #BAF962 #62F9EC
square
#A162F9 #F9626E #BAF962 #62F9EC
split-complementary
#A162F9 #F9EC62 #6EF962
monochromatic
#5F08D8 #7E27F7 #A162F9 #C49DFB #E8D8FE

Accessibility & contrast

On white

3.73
#A162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#A162F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162F9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162F9#FFFFFF#000000##000000
##A162F91.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#2783F6
Tritanopia (blue-blind)
#8E83A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a162f9;
/* rgb */ color: rgb(161, 98, 249);
/* oklch */ color: oklch(63.8% 0.217 299.4);
Tailwind
colors: {
  custom: {
    50: '#c291fc',
    500: '#a162f9',
    950: '#000000',
  },
}
SCSS
$custom: #a162f9;
$custom-light: #c291fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a162f9",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 265.033,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.21652,
    "h": 299.4
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#A162F9
secondary
#DFF2C4
accent
#E60086
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A162F9

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

Preview Lab → · Contrast checker → · Palette generator →

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