#A162F3#A162F3

#A162F3 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.4% C 0.210 H 300.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A162F3
RGBrgb(161, 98, 243)
HSLhsl(266, 86%, 67%)
HSVhsv(266, 60%, 95%)
CMYKcmyk(33.7%, 59.7%, 0%, 4.7%)
CIE-LABlab(54.85, 53.82, -63.66)
CIE-LCHlch(54.85, 83.36, 310.21°)
OKLaboklab(63.38% 0.1066 -0.1806)
OKLCHoklch(63.38% 0.21 300.5)
XYZxyz(35.2394, 22.7833, 87.3177)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A162F3 #B4F362
analogous
#626CF3 #A162F3 #EA62F3
triadic
#A162F3 #F3A162 #62F3A1
tetradic
#A162F3 #F3626C #B4F362 #62F3EA
square
#A162F3 #F3626C #B4F362 #62F3EA
split-complementary
#A162F3 #F3EA62 #6CF362
monochromatic
#6110CB #7F29EF #A162F3 #C39BF7 #E5D4FC

Accessibility & contrast

On white

3.78
#A162F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A162F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A162F3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A162F3#FFFFFF#000000##000000
##A162F31.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#3282F0
Tritanopia (blue-blind)
#9081A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a162f3;
/* rgb */ color: rgb(161, 98, 243);
/* oklch */ color: oklch(63.4% 0.210 300.5);
Tailwind
colors: {
  custom: {
    50: '#c191f8',
    500: '#a162f3',
    950: '#000000',
  },
}
SCSS
$custom: #a162f3;
$custom-light: #c191f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a162f3",
  "rgb": {
    "r": 161,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 266.069,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.2097,
    "h": 300.5
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#A162F3
secondary
#DBF0C1
accent
#E20381
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A162F3

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

Preview Lab → · Contrast checker → · Palette generator →

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