#A176F7#A176F7

#A176F7 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.186 H 296.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A176F7
RGBrgb(161, 118, 247)
HSLhsl(260, 89%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(34.8%, 52.2%, 0%, 3.1%)
CIE-LABlab(59.20, 44.06, -58.89)
CIE-LCHlch(59.20, 73.55, 306.80°)
OKLaboklab(66.66% 0.0827 -0.1666)
OKLCHoklch(66.66% 0.186 296.4)
XYZxyz(37.9606, 27.2487, 91.2372)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A176F7 #CCF776
analogous
#768CF7 #A176F7 #E276F7
triadic
#A176F7 #F7A176 #76F7A1
tetradic
#A176F7 #F7768C #CCF776 #76F7E2
square
#A176F7 #F7768C #CCF776 #76F7E2
split-complementary
#A176F7 #F7E276 #8CF776
monochromatic
#550DE5 #793CF4 #A176F7 #C9B0FA #EBE2FD

Accessibility & contrast

On white

3.26
#A176F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A176F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A176F7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A176F7#FFFFFF#000000##000000
##A176F71.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#8D90AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a176f7;
/* rgb */ color: rgb(161, 118, 247);
/* oklch */ color: oklch(66.7% 0.186 296.4);
Tailwind
colors: {
  custom: {
    50: '#c19efa',
    500: '#a176f7',
    950: '#000000',
  },
}
SCSS
$custom: #a176f7;
$custom-light: #c19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a176f7",
  "rgb": {
    "r": 161,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 260,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.18599,
    "h": 296.4
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#A176F7
secondary
#EAF5D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A176F7

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

Preview Lab → · Contrast checker → · Palette generator →

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