#A177E7#A177E7

#A177E7 is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.165 H 299.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A177E7
RGBrgb(161, 119, 231)
HSLhsl(263, 70%, 69%)
HSVhsv(263, 48%, 91%)
CMYKcmyk(30.3%, 48.5%, 0%, 9.4%)
CIE-LABlab(58.55, 39.49, -51.06)
CIE-LCHlch(58.55, 64.54, 307.72°)
OKLaboklab(65.88% 0.0801 -0.1437)
OKLCHoklch(65.88% 0.165 299.2)
XYZxyz(35.7151, 26.5400, 78.8269)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A177E7 #BDE777
analogous
#7785E7 #A177E7 #D977E7
triadic
#A177E7 #E7A177 #77E7A1
tetradic
#A177E7 #E77785 #BDE777 #77E7D9
square
#A177E7 #E77785 #BDE777 #77E7D9
split-complementary
#A177E7 #E7D977 #85E777
monochromatic
#5E22C1 #7D43DE #A177E7 #C5ABF0 #E9DFF9

Accessibility & contrast

On white

3.33
#A177E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A177E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A177E7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A177E7#FFFFFF#000000##000000
##A177E71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528DEB
Deuteranopia (green-blind)
#5C8CE4
Tritanopia (blue-blind)
#938CA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a177e7;
/* rgb */ color: rgb(161, 119, 231);
/* oklch */ color: oklch(65.9% 0.165 299.2);
Tailwind
colors: {
  custom: {
    50: '#c09fef',
    500: '#a177e7',
    950: '#000000',
  },
}
SCSS
$custom: #a177e7;
$custom-light: #c09fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a177e7",
  "rgb": {
    "r": 161,
    "g": 119,
    "b": 231
  },
  "hsl": {
    "h": 262.5,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.16452,
    "h": 299.2
  },
  "luminance": 0.2654
}

Semantic roles & 50–950 ramp

primary
#A177E7
secondary
#E1EECC
accent
#D2148B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A177E7

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

Preview Lab → · Contrast checker → · Palette generator →

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