#A176EF#A176EF

#A176EF is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.176 H 297.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A176EF
RGBrgb(161, 118, 239)
HSLhsl(261, 79%, 70%)
HSVhsv(261, 51%, 94%)
CMYKcmyk(32.6%, 50.6%, 0%, 6.3%)
CIE-LABlab(58.76, 42.04, -55.17)
CIE-LCHlch(58.76, 69.36, 307.31°)
OKLaboklab(66.18% 0.0821 -0.1557)
OKLCHoklch(66.18% 0.176 297.8)
XYZxyz(36.7525, 26.7655, 84.8746)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A176EF #C4EF76
analogous
#7688EF #A176EF #DD76EF
triadic
#A176EF #EFA176 #76EFA1
tetradic
#A176EF #EF7688 #C4EF76 #76EFDD
square
#A176EF #EF7688 #C4EF76 #76EFDD
split-complementary
#A176EF #EFDD76 #88EF76
monochromatic
#5A19D2 #7B3FE9 #A176EF #C7ADF5 #ECE4FC

Accessibility & contrast

On white

3.31
#A176EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A176EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A176EF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A176EF#FFFFFF#000000##000000
##A176EF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#908DA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a176ef;
/* rgb */ color: rgb(161, 118, 239);
/* oklch */ color: oklch(66.2% 0.176 297.8);
Tailwind
colors: {
  custom: {
    50: '#c09ef5',
    500: '#a176ef',
    950: '#000000',
  },
}
SCSS
$custom: #a176ef;
$custom-light: #c09ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a176ef",
  "rgb": {
    "r": 161,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 261.322,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.17606,
    "h": 297.8
  },
  "luminance": 0.26766
}

Semantic roles & 50–950 ramp

primary
#A176EF
secondary
#E5F1CF
accent
#DB0A91
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A176EF

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

Preview Lab → · Contrast checker → · Palette generator →

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