#A178FF#A178FF

#A178FF is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.193 H 294.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A178FF
RGBrgb(161, 120, 255)
HSLhsl(258, 100%, 74%)
HSVhsv(258, 53%, 100%)
CMYKcmyk(36.9%, 52.9%, 0%, 0%)
CIE-LABlab(60.10, 45.00, -61.88)
CIE-LCHlch(60.10, 76.51, 306.03°)
OKLaboklab(67.47% 0.0806 -0.1754)
OKLCHoklch(67.47% 0.193 294.7)
XYZxyz(39.4597, 28.2292, 97.9581)
Luminance0.2823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A178FF #D6FF78
analogous
#7892FF #A178FF #E478FF
triadic
#A178FF #FFA178 #78FFA1
tetradic
#A178FF #FF7892 #D6FF78 #78FFE4
square
#A178FF #FF7892 #D6FF78 #78FFE4
split-complementary
#A178FF #FFE478 #92FF78
monochromatic
#4D00FD #763BFF #A178FF #CCB5FF #EAE0FF

Accessibility & contrast

On white

3.16
#A178FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#A178FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A178FF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A178FF#FFFFFF#000000##000000
##A178FF1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#488FFC
Tritanopia (blue-blind)
#8A94B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a178ff;
/* rgb */ color: rgb(161, 120, 255);
/* oklch */ color: oklch(67.5% 0.193 294.7);
Tailwind
colors: {
  custom: {
    50: '#c1a0ff',
    500: '#a178ff',
    950: '#000000',
  },
}
SCSS
$custom: #a178ff;
$custom-light: #c1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a178ff",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 258.222,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67466,
    "c": 0.19301,
    "h": 294.7
  },
  "luminance": 0.2823
}

Semantic roles & 50–950 ramp

primary
#A178FF
secondary
#EDF7D4
accent
#E600A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A178FF

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

Preview Lab → · Contrast checker → · Palette generator →

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