#9177A2#9177A2

#9177A2 is a mid, moderate violet. Relative luminance 0.218; OKLCH L 60.9% C 0.070 H 311.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9177A2
RGBrgb(145, 119, 162)
HSLhsl(276, 19%, 55%)
HSVhsv(276, 27%, 64%)
CMYKcmyk(10.5%, 26.5%, 0%, 36.5%)
CIE-LABlab(53.84, 18.45, -19.26)
CIE-LCHlch(53.84, 26.67, 313.78°)
OKLaboklab(60.92% 0.0467 -0.0525)
OKLCHoklch(60.92% 0.07 311.7)
XYZxyz(24.7944, 21.8223, 37.0814)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9177A2 #88A277
analogous
#7C77A2 #9177A2 #A2779D
triadic
#9177A2 #A29177 #77A291
tetradic
#9177A2 #A27C77 #88A277 #779DA2
square
#9177A2 #A27C77 #88A277 #779DA2
split-complementary
#9177A2 #9DA277 #77A27C
monochromatic
#52405E #725983 #9177A2 #AE9BBB #CCC0D4

Accessibility & contrast

On white

3.91
#9177A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9177A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9177A2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9177A2#FFFFFF#000000##000000
##9177A21.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#7681A1
Tritanopia (blue-blind)
#8F7C86
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9177a2;
/* rgb */ color: rgb(145, 119, 162);
/* oklch */ color: oklch(60.9% 0.070 311.7);
Tailwind
colors: {
  custom: {
    50: '#b19ebd',
    500: '#9177a2',
    950: '#000000',
  },
}
SCSS
$custom: #9177a2;
$custom-light: #b19ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9177a2",
  "rgb": {
    "r": 145,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 276.279,
    "s": 18.777,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.07028,
    "h": 311.7
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#9177A2
secondary
#B9C3B1
accent
#BB6C8C
background
#FAF9FB
surface
#F5F2F6
border
#CFCCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #9177A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9177A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva