#A160D2#A160D2

#A160D2 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.0% C 0.175 H 308.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A160D2
RGBrgb(161, 96, 210)
HSLhsl(274, 56%, 60%)
HSVhsv(274, 54%, 82%)
CMYKcmyk(23.3%, 54.3%, 0%, 17.6%)
CIE-LABlab(52.50, 47.08, -48.83)
CIE-LCHlch(52.50, 67.83, 313.95°)
OKLaboklab(61.04% 0.1087 -0.1371)
OKLCHoklch(61.04% 0.175 308.4)
XYZxyz(30.5114, 20.5964, 63.3284)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A160D2 #91D260
analogous
#6860D2 #A160D2 #D260CA
triadic
#A160D2 #D2A160 #60D2A1
tetradic
#A160D2 #D26860 #91D260 #60CAD2
square
#A160D2 #D26860 #91D260 #60CAD2
split-complementary
#A160D2 #CAD260 #60D268
monochromatic
#63298F #8436BF #A160D2 #BD90DF #D9BFED

Accessibility & contrast

On white

4.10
#A160D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A160D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A160D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A160D2#FFFFFF#000000##000000
##A160D21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#9A7490
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a160d2;
/* rgb */ color: rgb(161, 96, 210);
/* oklch */ color: oklch(61.0% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#c08fe0',
    500: '#a160d2',
    950: '#000000',
  },
}
SCSS
$custom: #a160d2;
$custom-light: #c08fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a160d2",
  "rgb": {
    "r": 161,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 274.211,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.175,
    "h": 308.4
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#A160D2
secondary
#C4DDB1
accent
#DF4989
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120D15
muted
#817D83

Preview Lab

Preview with #A160D2

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

Preview Lab → · Contrast checker → · Palette generator →

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