#A160E2#A160E2

#A160E2 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.193 H 304.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A160E2
RGBrgb(161, 96, 226)
HSLhsl(270, 69%, 63%)
HSVhsv(270, 58%, 89%)
CMYKcmyk(28.8%, 57.5%, 0%, 11.4%)
CIE-LABlab(53.42, 50.79, -56.43)
CIE-LCHlch(53.42, 75.92, 311.99°)
OKLaboklab(62% 0.1092 -0.1594)
OKLCHoklch(62% 0.193 304.4)
XYZxyz(32.6053, 21.4339, 74.3562)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A160E2 #A1E260
analogous
#6060E2 #A160E2 #E260E2
triadic
#A160E2 #E2A160 #60E2A1
tetradic
#A160E2 #E26060 #A1E260 #60E2E2
square
#A160E2 #E26060 #A1E260 #60E2E2
split-complementary
#A160E2 #E2E260 #60E260
monochromatic
#641FA9 #822CD9 #A160E2 #C094EB #DEC8F5

Accessibility & contrast

On white

3.97
#A160E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A160E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A160E2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A160E2#FFFFFF#000000##000000
##A160E21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#4480DF
Tritanopia (blue-blind)
#957A98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a160e2;
/* rgb */ color: rgb(161, 96, 226);
/* oklch */ color: oklch(62.0% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#c090ec',
    500: '#a160e2',
    950: '#000000',
  },
}
SCSS
$custom: #a160e2;
$custom-light: #c090ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a160e2",
  "rgb": {
    "r": 161,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 270,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.1932,
    "h": 304.4
  },
  "luminance": 0.21434
}

Semantic roles & 50–950 ramp

primary
#A160E2
secondary
#CFE6B8
accent
#D11473
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A160E2

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

Preview Lab → · Contrast checker → · Palette generator →

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