#A177EB#A177EB

#A177EB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.170 H 298.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A177EB
RGBrgb(161, 119, 235)
HSLhsl(262, 74%, 69%)
HSVhsv(262, 49%, 92%)
CMYKcmyk(31.5%, 49.4%, 0%, 7.8%)
CIE-LABlab(58.76, 40.48, -52.95)
CIE-LCHlch(58.76, 66.65, 307.40°)
OKLaboklab(66.11% 0.0805 -0.1492)
OKLCHoklch(66.11% 0.17 298.4)
XYZxyz(36.2865, 26.7685, 81.8363)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A177EB #C1EB77
analogous
#7787EB #A177EB #DB77EB
triadic
#A177EB #EBA177 #77EBA1
tetradic
#A177EB #EB7787 #C1EB77 #77EBDB
square
#A177EB #EB7787 #C1EB77 #77EBDB
split-complementary
#A177EB #EBDB77 #87EB77
monochromatic
#5C1ECA #7C42E3 #A177EB #C6ACF3 #EBE2FB

Accessibility & contrast

On white

3.31
#A177EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A177EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A177EB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A177EB#FFFFFF#000000##000000
##A177EB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#918DA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a177eb;
/* rgb */ color: rgb(161, 119, 235);
/* oklch */ color: oklch(66.1% 0.170 298.4);
Tailwind
colors: {
  custom: {
    50: '#c09ff2',
    500: '#a177eb',
    950: '#000000',
  },
}
SCSS
$custom: #a177eb;
$custom-light: #c09ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a177eb",
  "rgb": {
    "r": 161,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 261.724,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66112,
    "c": 0.16954,
    "h": 298.4
  },
  "luminance": 0.26769
}

Semantic roles & 50–950 ramp

primary
#A177EB
secondary
#E4F0CE
accent
#D60F8E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A177EB

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

Preview Lab → · Contrast checker → · Palette generator →

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