#A161CD#A161CD

#A161CD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.168 H 309.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A161CD
RGBrgb(161, 97, 205)
HSLhsl(276, 52%, 59%)
HSVhsv(276, 53%, 80%)
CMYKcmyk(21.5%, 52.7%, 0%, 19.6%)
CIE-LABlab(52.44, 45.41, -46.09)
CIE-LCHlch(52.44, 64.70, 314.57°)
OKLaboklab(60.9% 0.1071 -0.1291)
OKLCHoklch(60.9% 0.168 309.7)
XYZxyz(29.9900, 20.5347, 60.1295)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A161CD #8DCD61
analogous
#6B61CD #A161CD #CD61C3
triadic
#A161CD #CDA161 #61CDA1
tetradic
#A161CD #CD6B61 #8DCD61 #61C3CD
square
#A161CD #CD6B61 #8DCD61 #61C3CD
split-complementary
#A161CD #C3CD61 #61CD6B
monochromatic
#622B88 #843AB7 #A161CD #BD8FDC #D8BEEA

Accessibility & contrast

On white

4.11
#A161CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A161CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A161CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A161CD#FFFFFF#000000##000000
##A161CD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#9B748E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a161cd;
/* rgb */ color: rgb(161, 97, 205);
/* oklch */ color: oklch(60.9% 0.168 309.7);
Tailwind
colors: {
  custom: {
    50: '#bf90dd',
    500: '#a161cd',
    950: '#000000',
  },
}
SCSS
$custom: #a161cd;
$custom-light: #bf90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a161cd",
  "rgb": {
    "r": 161,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 275.556,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.16774,
    "h": 309.7
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#A161CD
secondary
#C1DAB0
accent
#DB4C87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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