#A178FA#A178FA

#A178FA is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.2% C 0.187 H 295.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A178FA
RGBrgb(161, 120, 250)
HSLhsl(259, 93%, 73%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.6%, 52%, 0%, 2%)
CIE-LABlab(59.81, 43.72, -59.58)
CIE-LCHlch(59.81, 73.90, 306.27°)
OKLaboklab(67.16% 0.0804 -0.1686)
OKLCHoklch(67.16% 0.187 295.5)
XYZxyz(38.6653, 27.9114, 93.7743)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178FA #D1FA78
analogous
#7890FA #A178FA #E278FA
triadic
#A178FA #FAA178 #78FAA1
tetradic
#A178FA #FA7890 #D1FA78 #78FAE2
square
#A178FA #FA7890 #D1FA78 #78FAE2
split-complementary
#A178FA #FAE278 #90FA78
monochromatic
#5109EF #783DF8 #A178FA #CAB3FC #EAE1FE

Accessibility & contrast

On white

3.19
#A178FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A178FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178FA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178FA#FFFFFF#000000##000000
##A178FA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#8C92AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a178fa;
/* rgb */ color: rgb(161, 120, 250);
/* oklch */ color: oklch(67.2% 0.187 295.5);
Tailwind
colors: {
  custom: {
    50: '#c1a0fd',
    500: '#a178fa',
    950: '#000000',
  },
}
SCSS
$custom: #a178fa;
$custom-light: #c1a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a178fa",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 258.923,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67161,
    "c": 0.18681,
    "h": 295.5
  },
  "luminance": 0.27912
}

Semantic roles & 50–950 ramp

primary
#A178FA
secondary
#ECF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A178FA

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

Preview Lab → · Contrast checker → · Palette generator →

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