#A178F3#A178F3

#A178F3 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.178 H 296.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A178F3
RGBrgb(161, 120, 243)
HSLhsl(260, 84%, 71%)
HSVhsv(260, 51%, 95%)
CMYKcmyk(33.7%, 50.6%, 0%, 4.7%)
CIE-LABlab(59.42, 41.94, -56.34)
CIE-LCHlch(59.42, 70.23, 306.66°)
OKLaboklab(66.74% 0.0799 -0.1591)
OKLCHoklch(66.74% 0.178 296.7)
XYZxyz(37.5880, 27.4805, 88.1006)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178F3 #CAF378
analogous
#788CF3 #A178F3 #DE78F3
triadic
#A178F3 #F3A178 #78F3A1
tetradic
#A178F3 #F3788C #CAF378 #78F3DE
square
#A178F3 #F3788C #CAF378 #78F3DE
split-complementary
#A178F3 #F3DE78 #8CF378
monochromatic
#5714DD #7A40EE #A178F3 #C8B0F8 #EBE3FD

Accessibility & contrast

On white

3.23
#A178F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A178F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178F3
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178F3#FFFFFF#000000##000000
##A178F31.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A90F7
Deuteranopia (green-blind)
#548EF0
Tritanopia (blue-blind)
#8F90AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a178f3;
/* rgb */ color: rgb(161, 120, 243);
/* oklch */ color: oklch(66.7% 0.178 296.7);
Tailwind
colors: {
  custom: {
    50: '#c0a0f8',
    500: '#a178f3',
    950: '#000000',
  },
}
SCSS
$custom: #a178f3;
$custom-light: #c0a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a178f3",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 260,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66743,
    "c": 0.17808,
    "h": 296.7
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#A178F3
secondary
#E9F4D3
accent
#E00597
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #A178F3

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

Preview Lab → · Contrast checker → · Palette generator →

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