#A178F9#A178F9

#A178F9 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.186 H 295.6°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A178F9
RGBrgb(161, 120, 249)
HSLhsl(259, 91%, 72%)
HSVhsv(259, 52%, 98%)
CMYKcmyk(35.3%, 51.8%, 0%, 2.4%)
CIE-LABlab(59.75, 43.46, -59.12)
CIE-LCHlch(59.75, 73.38, 306.32°)
OKLaboklab(67.1% 0.0803 -0.1673)
OKLCHoklch(67.1% 0.186 295.6)
XYZxyz(38.5089, 27.8489, 92.9507)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178F9 #D0F978
analogous
#788FF9 #A178F9 #E278F9
triadic
#A178F9 #F9A178 #78F9A1
tetradic
#A178F9 #F9788F #D0F978 #78F9E2
square
#A178F9 #F9788F #D0F978 #78F9E2
split-complementary
#A178F9 #F9E278 #8FF978
monochromatic
#520AEC #783DF6 #A178F9 #CAB3FC #EBE2FE

Accessibility & contrast

On white

3.20
#A178F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#A178F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178F9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178F9#FFFFFF#000000##000000
##A178F91.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FD
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#8C92AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a178f9;
/* rgb */ color: rgb(161, 120, 249);
/* oklch */ color: oklch(67.1% 0.186 295.6);
Tailwind
colors: {
  custom: {
    50: '#c1a0fc',
    500: '#a178f9',
    950: '#000000',
  },
}
SCSS
$custom: #a178f9;
$custom-light: #c1a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a178f9",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 259.07,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.18556,
    "h": 295.6
  },
  "luminance": 0.2785
}

Semantic roles & 50–950 ramp

primary
#A178F9
secondary
#EBF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A178F9

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

Preview Lab → · Contrast checker → · Palette generator →

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