#A160DC#A160DC

#A160DC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.186 H 305.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A160DC
RGBrgb(161, 96, 220)
HSLhsl(271, 64%, 62%)
HSVhsv(271, 56%, 86%)
CMYKcmyk(26.8%, 56.4%, 0%, 13.7%)
CIE-LABlab(53.07, 49.38, -53.61)
CIE-LCHlch(53.07, 72.88, 312.65°)
OKLaboklab(61.63% 0.1091 -0.1511)
OKLCHoklch(61.63% 0.186 305.8)
XYZxyz(31.7963, 21.1104, 70.0959)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A160DC #9BDC60
analogous
#6360DC #A160DC #DC60D9
triadic
#A160DC #DCA160 #60DCA1
tetradic
#A160DC #DC6360 #9BDC60 #60D9DC
square
#A160DC #DC6360 #9BDC60 #60D9DC
split-complementary
#A160DC #D9DC60 #60DC63
monochromatic
#64239F #832ED1 #A160DC #BF92E7 #DCC4F2

Accessibility & contrast

On white

4.02
#A160DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A160DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A160DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A160DC#FFFFFF#000000##000000
##A160DC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#977895
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a160dc;
/* rgb */ color: rgb(161, 96, 220);
/* oklch */ color: oklch(61.6% 0.186 305.8);
Tailwind
colors: {
  custom: {
    50: '#c090e7',
    500: '#a160dc',
    950: '#000000',
  },
}
SCSS
$custom: #a160dc;
$custom-light: #c090e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a160dc",
  "rgb": {
    "r": 161,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 271.452,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.18637,
    "h": 305.8
  },
  "luminance": 0.2111
}

Semantic roles & 50–950 ramp

primary
#A160DC
secondary
#CBE3B5
accent
#CC1A6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A160DC

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

Preview Lab → · Contrast checker → · Palette generator →

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