#A161DB#A161DB

#A161DB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.7% C 0.184 H 305.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A161DB
RGBrgb(161, 97, 219)
HSLhsl(271, 63%, 62%)
HSVhsv(271, 56%, 86%)
CMYKcmyk(26.5%, 55.7%, 0%, 14.1%)
CIE-LABlab(53.21, 48.62, -52.81)
CIE-LCHlch(53.21, 71.79, 312.63°)
OKLaboklab(61.72% 0.1078 -0.1488)
OKLCHoklch(61.72% 0.184 305.9)
XYZxyz(31.7561, 21.2412, 69.4311)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161DB #9BDB61
analogous
#6461DB #A161DB #DB61D8
triadic
#A161DB #DBA161 #61DBA1
tetradic
#A161DB #DB6461 #9BDB61 #61D8DB
square
#A161DB #DB6461 #9BDB61 #61D8DB
split-complementary
#A161DB #D8DB61 #61DB64
monochromatic
#64249E #832FD0 #A161DB #BF93E6 #DCC5F2

Accessibility & contrast

On white

4.00
#A161DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A161DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161DB#FFFFFF#000000##000000
##A161DB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#977895
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a161db;
/* rgb */ color: rgb(161, 97, 219);
/* oklch */ color: oklch(61.7% 0.184 305.9);
Tailwind
colors: {
  custom: {
    50: '#c090e7',
    500: '#a161db',
    950: '#000000',
  },
}
SCSS
$custom: #a161db;
$custom-light: #c090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a161db",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 271.475,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.18373,
    "h": 305.9
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#A161DB
secondary
#CBE2B5
accent
#CB1B6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A161DB

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

Preview Lab → · Contrast checker → · Palette generator →

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