#A160C8#A160C8

#A160C8 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.164 H 311.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A160C8
RGBrgb(161, 96, 200)
HSLhsl(278, 49%, 58%)
HSVhsv(278, 52%, 78%)
CMYKcmyk(19.5%, 52%, 0%, 21.6%)
CIE-LABlab(51.97, 44.83, -43.98)
CIE-LCHlch(51.97, 62.80, 315.55°)
OKLaboklab(60.46% 0.108 -0.123)
OKLCHoklch(60.46% 0.164 311.3)
XYZxyz(29.3043, 20.1135, 56.9710)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A160C8 #87C860
analogous
#6D60C8 #A160C8 #C860BB
triadic
#A160C8 #C8A160 #60C8A1
tetradic
#A160C8 #C86D60 #87C860 #60BBC8
square
#A160C8 #C86D60 #87C860 #60BBC8
split-complementary
#A160C8 #BBC860 #60C86D
monochromatic
#612D81 #843CAE #A160C8 #BC8DD8 #D7BBE7

Accessibility & contrast

On white

4.18
#A160C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A160C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A160C8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A160C8#FFFFFF#000000##000000
##A160C81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4579CC
Deuteranopia (green-blind)
#597DC5
Tritanopia (blue-blind)
#9D718B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a160c8;
/* rgb */ color: rgb(161, 96, 200);
/* oklch */ color: oklch(60.5% 0.164 311.3);
Tailwind
colors: {
  custom: {
    50: '#bf8fd9',
    500: '#a160c8',
    950: '#000000',
  },
}
SCSS
$custom: #a160c8;
$custom-light: #bf8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a160c8",
  "rgb": {
    "r": 161,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 277.5,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.16366,
    "h": 311.3
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#A160C8
secondary
#BDD7AD
accent
#D85083
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120D15
muted
#817D83

Preview Lab

Preview with #A160C8

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

Preview Lab → · Contrast checker → · Palette generator →

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