#A178FB#A178FB

#A178FB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.188 H 295.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A178FB
RGBrgb(161, 120, 251)
HSLhsl(259, 94%, 73%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(59.87, 43.97, -60.04)
CIE-LCHlch(59.87, 74.42, 306.22°)
OKLaboklab(67.22% 0.0804 -0.17)
OKLCHoklch(67.22% 0.188 295.3)
XYZxyz(38.8225, 27.9743, 94.6023)
Luminance0.2797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178FB #D2FB78
analogous
#7890FB #A178FB #E378FB
triadic
#A178FB #FBA178 #78FBA1
tetradic
#A178FB #FB7890 #D2FB78 #78FBE3
square
#A178FB #FB7890 #D2FB78 #78FBE3
split-complementary
#A178FB #FBE378 #90FB78
monochromatic
#5007F1 #783DF9 #A178FB #CAB3FD #EAE1FE

Accessibility & contrast

On white

3.18
#A178FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A178FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178FB#FFFFFF#000000##000000
##A178FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#8C92AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a178fb;
/* rgb */ color: rgb(161, 120, 251);
/* oklch */ color: oklch(67.2% 0.188 295.3);
Tailwind
colors: {
  custom: {
    50: '#c1a0fd',
    500: '#a178fb',
    950: '#000000',
  },
}
SCSS
$custom: #a178fb;
$custom-light: #c1a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a178fb",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 258.779,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67222,
    "c": 0.18805,
    "h": 295.3
  },
  "luminance": 0.27975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A178FB

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

Preview Lab → · Contrast checker → · Palette generator →

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