#A160DF#A160DF

#A160DF is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.190 H 305.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A160DF
RGBrgb(161, 96, 223)
HSLhsl(271, 66%, 63%)
HSVhsv(271, 57%, 87%)
CMYKcmyk(27.8%, 57%, 0%, 12.5%)
CIE-LABlab(53.24, 50.08, -55.02)
CIE-LCHlch(53.24, 74.40, 312.31°)
OKLaboklab(61.82% 0.1092 -0.1552)
OKLCHoklch(61.82% 0.19 305.1)
XYZxyz(32.1972, 21.2707, 72.2072)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A160DF #9EDF60
analogous
#6260DF #A160DF #DF60DD
triadic
#A160DF #DFA160 #60DFA1
tetradic
#A160DF #DF6260 #9EDF60 #60DDDF
square
#A160DF #DF6260 #9EDF60 #60DDDF
split-complementary
#A160DF #DDDF60 #60DF62
monochromatic
#6421A4 #832DD5 #A160DF #BF93E9 #DDC6F4

Accessibility & contrast

On white

4.00
#A160DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A160DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A160DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A160DF#FFFFFF#000000##000000
##A160DF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#967996
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a160df;
/* rgb */ color: rgb(161, 96, 223);
/* oklch */ color: oklch(61.8% 0.190 305.1);
Tailwind
colors: {
  custom: {
    50: '#c090ea',
    500: '#a160df',
    950: '#000000',
  },
}
SCSS
$custom: #a160df;
$custom-light: #c090ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a160df",
  "rgb": {
    "r": 161,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 270.709,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.18979,
    "h": 305.1
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#A160DF
secondary
#CDE4B6
accent
#CE1771
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A160DF

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

Preview Lab → · Contrast checker → · Palette generator →

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