#A177EC#A177EC

#A177EC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.171 H 298.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A177EC
RGBrgb(161, 119, 236)
HSLhsl(262, 75%, 70%)
HSVhsv(262, 50%, 93%)
CMYKcmyk(31.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(58.81, 40.73, -53.42)
CIE-LCHlch(58.81, 67.17, 307.33°)
OKLaboklab(66.17% 0.0806 -0.1506)
OKLCHoklch(66.17% 0.171 298.2)
XYZxyz(36.4314, 26.8265, 82.5993)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A177EC #C2EC77
analogous
#7788EC #A177EC #DB77EC
triadic
#A177EC #ECA177 #77ECA1
tetradic
#A177EC #EC7788 #C2EC77 #77ECDB
square
#A177EC #EC7788 #C2EC77 #77ECDB
split-complementary
#A177EC #ECDB77 #88EC77
monochromatic
#5C1DCC #7C41E4 #A177EC #C6ADF4 #EBE2FB

Accessibility & contrast

On white

3.30
#A177EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A177EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A177EC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A177EC#FFFFFF#000000##000000
##A177EC1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#918DA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a177ec;
/* rgb */ color: rgb(161, 119, 236);
/* oklch */ color: oklch(66.2% 0.171 298.2);
Tailwind
colors: {
  custom: {
    50: '#c09ff3',
    500: '#a177ec',
    950: '#000000',
  },
}
SCSS
$custom: #a177ec;
$custom-light: #c09ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a177ec",
  "rgb": {
    "r": 161,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 261.538,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6617,
    "c": 0.1708,
    "h": 298.2
  },
  "luminance": 0.26827
}

Semantic roles & 50–950 ramp

primary
#A177EC
secondary
#E4F0CF
accent
#D80E8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A177EC

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

Preview Lab → · Contrast checker → · Palette generator →

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