#A176F5#A176F5

#A176F5 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.184 H 296.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A176F5
RGBrgb(161, 118, 245)
HSLhsl(260, 86%, 71%)
HSVhsv(260, 52%, 96%)
CMYKcmyk(34.3%, 51.8%, 0%, 3.9%)
CIE-LABlab(59.09, 43.55, -57.97)
CIE-LCHlch(59.09, 72.50, 306.92°)
OKLaboklab(66.54% 0.0825 -0.1639)
OKLCHoklch(66.54% 0.184 296.7)
XYZxyz(37.6537, 27.1260, 89.6205)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A176F5 #CAF576
analogous
#768AF5 #A176F5 #E076F5
triadic
#A176F5 #F5A176 #76F5A1
tetradic
#A176F5 #F5768A #CAF576 #76F5E0
square
#A176F5 #F5768A #CAF576 #76F5E0
split-complementary
#A176F5 #F5E076 #8AF576
monochromatic
#5710E0 #7A3DF1 #A176F5 #C8AFF9 #EBE2FD

Accessibility & contrast

On white

3.27
#A176F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A176F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A176F5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A176F5#FFFFFF#000000##000000
##A176F51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#4F8DF2
Tritanopia (blue-blind)
#8E8FAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a176f5;
/* rgb */ color: rgb(161, 118, 245);
/* oklch */ color: oklch(66.5% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#c19ef9',
    500: '#a176f5',
    950: '#000000',
  },
}
SCSS
$custom: #a176f5;
$custom-light: #c19ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a176f5",
  "rgb": {
    "r": 161,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 260.315,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66537,
    "c": 0.18351,
    "h": 296.7
  },
  "luminance": 0.27127
}

Semantic roles & 50–950 ramp

primary
#A176F5
secondary
#E9F4D3
accent
#E30397
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A176F5

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

Preview Lab → · Contrast checker → · Palette generator →

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