#A178F5#A178F5

#A178F5 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.181 H 296.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A178F5
RGBrgb(161, 120, 245)
HSLhsl(260, 86%, 72%)
HSVhsv(260, 51%, 96%)
CMYKcmyk(34.3%, 51%, 0%, 3.9%)
CIE-LABlab(59.53, 42.44, -57.27)
CIE-LCHlch(59.53, 71.28, 306.54°)
OKLaboklab(66.86% 0.0801 -0.1619)
OKLCHoklch(66.86% 0.181 296.3)
XYZxyz(37.8917, 27.6020, 89.6999)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178F5 #CCF578
analogous
#788EF5 #A178F5 #E078F5
triadic
#A178F5 #F5A178 #78F5A1
tetradic
#A178F5 #F5788E #CCF578 #78F5E0
square
#A178F5 #F5788E #CCF578 #78F5E0
split-complementary
#A178F5 #F5E078 #8EF578
monochromatic
#5511E2 #793FF1 #A178F5 #C9B1F9 #EBE3FD

Accessibility & contrast

On white

3.22
#A178F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A178F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178F5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178F5#FFFFFF#000000##000000
##A178F51.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890F9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#8E91AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a178f5;
/* rgb */ color: rgb(161, 120, 245);
/* oklch */ color: oklch(66.9% 0.181 296.3);
Tailwind
colors: {
  custom: {
    50: '#c1a0f9',
    500: '#a178f5',
    950: '#000000',
  },
}
SCSS
$custom: #a178f5;
$custom-light: #c1a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a178f5",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 259.68,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66861,
    "c": 0.18057,
    "h": 296.3
  },
  "luminance": 0.27603
}

Semantic roles & 50–950 ramp

primary
#A178F5
secondary
#EAF4D4
accent
#E30399
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A178F5

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

Preview Lab → · Contrast checker → · Palette generator →

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