#A161FE#A161FE

#A161FE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.0% C 0.223 H 298.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A161FE
RGBrgb(161, 97, 254)
HSLhsl(264, 99%, 69%)
HSVhsv(264, 62%, 100%)
CMYKcmyk(36.6%, 61.8%, 0%, 0.4%)
CIE-LABlab(55.36, 57.02, -68.94)
CIE-LCHlch(55.36, 89.47, 309.59°)
OKLaboklab(63.98% 0.1071 -0.1961)
OKLCHoklch(63.98% 0.223 298.6)
XYZxyz(36.8576, 23.2818, 96.2987)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161FE #BEFE61
analogous
#6170FE #A161FE #F061FE
triadic
#A161FE #FEA161 #61FEA1
tetradic
#A161FE #FE6170 #BEFE61 #61FEF0
square
#A161FE #FE6170 #BEFE61 #61FEF0
split-complementary
#A161FE #FEF061 #70FE61
monochromatic
#5D01E3 #7D24FE #A161FE #C59EFE #E9DBFF

Accessibility & contrast

On white

3.71
#A161FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A161FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161FE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161FE#FFFFFF#000000##000000
##A161FE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1683FB
Tritanopia (blue-blind)
#8C84A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a161fe;
/* rgb */ color: rgb(161, 97, 254);
/* oklch */ color: oklch(64.0% 0.223 298.6);
Tailwind
colors: {
  custom: {
    50: '#c291ff',
    500: '#a161fe',
    950: '#000000',
  },
}
SCSS
$custom: #a161fe;
$custom-light: #c291ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a161fe",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 254
  },
  "hsl": {
    "h": 264.459,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63975,
    "c": 0.22348,
    "h": 298.6
  },
  "luminance": 0.23282
}

Semantic roles & 50–950 ramp

primary
#A161FE
secondary
#E2F5C6
accent
#E60088
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A161FE

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

Preview Lab → · Contrast checker → · Palette generator →

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