#A179FB#A179FB

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

Color values

HEX#A179FB
RGBrgb(161, 121, 251)
HSLhsl(258, 94%, 73%)
HSVhsv(258, 52%, 98%)
CMYKcmyk(35.9%, 51.8%, 0%, 1.6%)
CIE-LABlab(60.08, 43.42, -59.69)
CIE-LCHlch(60.08, 73.81, 306.03°)
OKLaboklab(67.38% 0.0792 -0.169)
OKLCHoklch(67.38% 0.187 295.1)
XYZxyz(38.9434, 28.2161, 94.6426)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A179FB #D3FB79
analogous
#7992FB #A179FB #E279FB
triadic
#A179FB #FBA179 #79FBA1
tetradic
#A179FB #FB7992 #D3FB79 #79FBE2
square
#A179FB #FB7992 #D3FB79 #79FBE2
split-complementary
#A179FB #FBE279 #92FB79
monochromatic
#5007F2 #773EF9 #A179FB #CBB4FD #EAE1FE

Accessibility & contrast

On white

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

On black

6.64
#A179FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A179FB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A179FB#FFFFFF#000000##000000
##A179FB1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#8C93AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a179fb;
/* rgb */ color: rgb(161, 121, 251);
/* oklch */ color: oklch(67.4% 0.187 295.1);
Tailwind
colors: {
  custom: {
    50: '#c1a0fd',
    500: '#a179fb',
    950: '#000000',
  },
}
SCSS
$custom: #a179fb;
$custom-light: #c1a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a179fb",
  "rgb": {
    "r": 161,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 258.462,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67383,
    "c": 0.1866,
    "h": 295.1
  },
  "luminance": 0.28217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A179FB

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

Preview Lab → · Contrast checker → · Palette generator →

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