#A161F2#A161F2

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

Color values

HEX#A161F2
RGBrgb(161, 97, 242)
HSLhsl(266, 85%, 66%)
HSVhsv(266, 60%, 95%)
CMYKcmyk(33.5%, 59.9%, 0%, 5.1%)
CIE-LABlab(54.59, 54.09, -63.52)
CIE-LCHlch(54.59, 83.43, 310.42°)
OKLaboklab(63.17% 0.1078 -0.1802)
OKLCHoklch(63.17% 0.21 300.9)
XYZxyz(34.9958, 22.5371, 86.4936)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161F2 #B2F261
analogous
#616AF2 #A161F2 #EA61F2
triadic
#A161F2 #F2A161 #61F2A1
tetradic
#A161F2 #F2616A #B2F261 #61F2EA
square
#A161F2 #F2616A #B2F261 #61F2EA
split-complementary
#A161F2 #F2EA61 #6AF261
monochromatic
#6210C8 #7F28ED #A161F2 #C39AF7 #E4D2FB

Accessibility & contrast

On white

3.81
#A161F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A161F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161F2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161F2#FFFFFF#000000##000000
##A161F21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#9080A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a161f2;
/* rgb */ color: rgb(161, 97, 242);
/* oklch */ color: oklch(63.2% 0.210 300.9);
Tailwind
colors: {
  custom: {
    50: '#c191f7',
    500: '#a161f2',
    950: '#000000',
  },
}
SCSS
$custom: #a161f2;
$custom-light: #c191f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a161f2",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 242
  },
  "hsl": {
    "h": 266.483,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63172,
    "c": 0.20995,
    "h": 300.9
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A161F2

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

Preview Lab → · Contrast checker → · Palette generator →

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