#A161CB#A161CB

#A161CB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.165 H 310.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A161CB
RGBrgb(161, 97, 203)
HSLhsl(276, 50%, 59%)
HSVhsv(276, 52%, 80%)
CMYKcmyk(20.7%, 52.2%, 0%, 20.4%)
CIE-LABlab(52.33, 44.96, -45.12)
CIE-LCHlch(52.33, 63.70, 314.90°)
OKLaboklab(60.78% 0.1069 -0.1263)
OKLCHoklch(60.78% 0.165 310.2)
XYZxyz(29.7501, 20.4388, 58.8662)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161CB #8BCB61
analogous
#6C61CB #A161CB #CB61C0
triadic
#A161CB #CBA161 #61CBA1
tetradic
#A161CB #CB6C61 #8BCB61 #61C0CB
square
#A161CB #CB6C61 #8BCB61 #61C0CB
split-complementary
#A161CB #C0CB61 #61CB6C
monochromatic
#622C86 #843BB4 #A161CB #BC8FDA #D8BDE9

Accessibility & contrast

On white

4.13
#A161CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A161CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161CB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161CB#FFFFFF#000000##000000
##A161CB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#9C738D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a161cb;
/* rgb */ color: rgb(161, 97, 203);
/* oklch */ color: oklch(60.8% 0.165 310.2);
Tailwind
colors: {
  custom: {
    50: '#bf90db',
    500: '#a161cb',
    950: '#000000',
  },
}
SCSS
$custom: #a161cb;
$custom-light: #bf90db;
$custom-dark: #000000;
JSON
{
  "hex": "#a161cb",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 203
  },
  "hsl": {
    "h": 276.226,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.16546,
    "h": 310.2
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

primary
#A161CB
secondary
#C0D9AF
accent
#DA4E85
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161CB

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

Preview Lab → · Contrast checker → · Palette generator →

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