#A176F8#A176F8

#A176F8 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.187 H 296.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A176F8
RGBrgb(161, 118, 248)
HSLhsl(260, 90%, 72%)
HSVhsv(260, 52%, 97%)
CMYKcmyk(35.1%, 52.4%, 0%, 2.7%)
CIE-LABlab(59.26, 44.32, -59.35)
CIE-LCHlch(59.26, 74.07, 306.75°)
OKLaboklab(66.72% 0.0827 -0.168)
OKLCHoklch(66.72% 0.187 296.2)
XYZxyz(38.1154, 27.3106, 92.0521)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A176F8 #CDF876
analogous
#768CF8 #A176F8 #E276F8
triadic
#A176F8 #F8A176 #76F8A1
tetradic
#A176F8 #F8768C #CDF876 #76F8E2
square
#A176F8 #F8768C #CDF876 #76F8E2
split-complementary
#A176F8 #F8E276 #8CF876
monochromatic
#550CE8 #793CF5 #A176F8 #C9B0FB #EBE2FE

Accessibility & contrast

On white

3.25
#A176F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A176F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A176F8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A176F8#FFFFFF#000000##000000
##A176F81.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#8D90AC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a176f8;
/* rgb */ color: rgb(161, 118, 248);
/* oklch */ color: oklch(66.7% 0.187 296.2);
Tailwind
colors: {
  custom: {
    50: '#c19efb',
    500: '#a176f8',
    950: '#000000',
  },
}
SCSS
$custom: #a176f8;
$custom-light: #c19efb;
$custom-dark: #000000;
JSON
{
  "hex": "#a176f8",
  "rgb": {
    "r": 161,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 259.846,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.18723,
    "h": 296.2
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A176F8

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

Preview Lab → · Contrast checker → · Palette generator →

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