#A161FB#A161FB

#A161FB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.220 H 299.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A161FB
RGBrgb(161, 97, 251)
HSLhsl(265, 95%, 68%)
HSVhsv(265, 61%, 98%)
CMYKcmyk(35.9%, 61.4%, 0%, 1.6%)
CIE-LABlab(55.17, 56.28, -67.59)
CIE-LCHlch(55.17, 87.96, 309.78°)
OKLaboklab(63.77% 0.1073 -0.1922)
OKLCHoklch(63.77% 0.22 299.2)
XYZxyz(36.3809, 23.0911, 93.7884)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161FB #BBFB61
analogous
#616EFB #A161FB #EE61FB
triadic
#A161FB #FBA161 #61FBA1
tetradic
#A161FB #FB616E #BBFB61 #61FBEE
square
#A161FB #FB616E #BBFB61 #61FBEE
split-complementary
#A161FB #FBEE61 #6EFB61
monochromatic
#5F06DC #7D25F9 #A161FB #C59DFD #E8D8FE

Accessibility & contrast

On white

3.74
#A161FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A161FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161FB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161FB#FFFFFF#000000##000000
##A161FB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#1F83F8
Tritanopia (blue-blind)
#8D83A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a161fb;
/* rgb */ color: rgb(161, 97, 251);
/* oklch */ color: oklch(63.8% 0.220 299.2);
Tailwind
colors: {
  custom: {
    50: '#c291fd',
    500: '#a161fb',
    950: '#000000',
  },
}
SCSS
$custom: #a161fb;
$custom-light: #c291fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a161fb",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 264.935,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.2201,
    "h": 299.2
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A161FB

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

Preview Lab → · Contrast checker → · Palette generator →

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