#A179EA#A179EA

#A179EA is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.4% C 0.165 H 298.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A179EA
RGBrgb(161, 121, 234)
HSLhsl(261, 73%, 70%)
HSVhsv(261, 48%, 92%)
CMYKcmyk(31.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(59.15, 39.11, -51.77)
CIE-LCHlch(59.15, 64.88, 307.07°)
OKLaboklab(66.39% 0.0778 -0.1457)
OKLCHoklch(66.39% 0.165 298.1)
XYZxyz(36.3830, 27.1920, 81.1577)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A179EA #C2EA79
analogous
#798AEA #A179EA #DA79EA
triadic
#A179EA #EAA179 #79EAA1
tetradic
#A179EA #EA798A #C2EA79 #79EADA
square
#A179EA #EA798A #C2EA79 #79EADA
split-complementary
#A179EA #EADA79 #8AEA79
monochromatic
#5C20C9 #7C44E2 #A179EA #C6AEF2 #EBE3FB

Accessibility & contrast

On white

3.26
#A179EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A179EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A179EA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A179EA#FFFFFF#000000##000000
##A179EA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#928EA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a179ea;
/* rgb */ color: rgb(161, 121, 234);
/* oklch */ color: oklch(66.4% 0.165 298.1);
Tailwind
colors: {
  custom: {
    50: '#c0a0f1',
    500: '#a179ea',
    950: '#000000',
  },
}
SCSS
$custom: #a179ea;
$custom-light: #c0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a179ea",
  "rgb": {
    "r": 161,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 261.239,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.16523,
    "h": 298.1
  },
  "luminance": 0.27192
}

Semantic roles & 50–950 ramp

primary
#A179EA
secondary
#E4F0CF
accent
#D5118F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #A179EA

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

Preview Lab → · Contrast checker → · Palette generator →

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