#A178FE#A178FE

#A178FE is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.4% C 0.192 H 294.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A178FE
RGBrgb(161, 120, 254)
HSLhsl(258, 99%, 73%)
HSVhsv(258, 53%, 100%)
CMYKcmyk(36.6%, 52.8%, 0%, 0.4%)
CIE-LABlab(60.04, 44.75, -61.42)
CIE-LCHlch(60.04, 75.99, 306.07°)
OKLaboklab(67.41% 0.0806 -0.174)
OKLCHoklch(67.41% 0.192 294.8)
XYZxyz(39.2992, 28.1650, 97.1126)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178FE #D5FE78
analogous
#7892FE #A178FE #E478FE
triadic
#A178FE #FEA178 #78FEA1
tetradic
#A178FE #FE7892 #D5FE78 #78FEE4
square
#A178FE #FE7892 #D5FE78 #78FEE4
split-complementary
#A178FE #FEE478 #92FE78
monochromatic
#4E02FA #773BFE #A178FE #CBB5FE #EAE1FF

Accessibility & contrast

On white

3.17
#A178FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A178FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178FE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178FE#FFFFFF#000000##000000
##A178FE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#8A93B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a178fe;
/* rgb */ color: rgb(161, 120, 254);
/* oklch */ color: oklch(67.4% 0.192 294.8);
Tailwind
colors: {
  custom: {
    50: '#c1a0ff',
    500: '#a178fe',
    950: '#000000',
  },
}
SCSS
$custom: #a178fe;
$custom-light: #c1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a178fe",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 258.358,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.19177,
    "h": 294.8
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#A178FE
secondary
#ECF7D4
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A178FE

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

Preview Lab → · Contrast checker → · Palette generator →

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