#A176EB#A176EB

#A176EB is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.171 H 298.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A176EB
RGBrgb(161, 118, 235)
HSLhsl(262, 75%, 69%)
HSVhsv(262, 50%, 92%)
CMYKcmyk(31.5%, 49.8%, 0%, 7.8%)
CIE-LABlab(58.54, 41.04, -53.30)
CIE-LCHlch(58.54, 67.27, 307.60°)
OKLaboklab(65.95% 0.0818 -0.1502)
OKLCHoklch(65.95% 0.171 298.6)
XYZxyz(36.1682, 26.5317, 81.7968)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A176EB #C0EB76
analogous
#7686EB #A176EB #DB76EB
triadic
#A176EB #EBA176 #76EBA1
tetradic
#A176EB #EB7686 #C0EB76 #76EBDB
square
#A176EB #EB7686 #C0EB76 #76EBDB
split-complementary
#A176EB #EBDB76 #86EB76
monochromatic
#5D1DC9 #7C41E3 #A176EB #C6ABF3 #EAE1FB

Accessibility & contrast

On white

3.33
#A176EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A176EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A176EB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A176EB#FFFFFF#000000##000000
##A176EB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#918CA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a176eb;
/* rgb */ color: rgb(161, 118, 235);
/* oklch */ color: oklch(65.9% 0.171 298.6);
Tailwind
colors: {
  custom: {
    50: '#c09ef2',
    500: '#a176eb',
    950: '#000000',
  },
}
SCSS
$custom: #a176eb;
$custom-light: #c09ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a176eb",
  "rgb": {
    "r": 161,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 262.051,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.17106,
    "h": 298.6
  },
  "luminance": 0.26532
}

Semantic roles & 50–950 ramp

primary
#A176EB
secondary
#E3EFCD
accent
#D70F8D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A176EB

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

Preview Lab → · Contrast checker → · Palette generator →

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