#9179EA#9179EA

#9179EA is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.9% C 0.164 H 290.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9179EA
RGBrgb(145, 121, 234)
HSLhsl(253, 73%, 70%)
HSVhsv(253, 48%, 92%)
CMYKcmyk(38%, 48.3%, 0%, 8.2%)
CIE-LABlab(57.69, 35.08, -54.18)
CIE-LCHlch(57.69, 64.55, 302.92°)
OKLaboklab(64.94% 0.0585 -0.1532)
OKLCHoklch(64.94% 0.164 290.9)
XYZxyz(33.3617, 25.6341, 81.0161)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9179EA #D2EA79
analogous
#799AEA #9179EA #C979EA
triadic
#9179EA #EA9179 #79EA91
tetradic
#9179EA #EA799A #D2EA79 #79EAC9
square
#9179EA #EA799A #D2EA79 #79EAC9
split-complementary
#9179EA #EAC979 #9AEA79
monochromatic
#4420C9 #6644E2 #9179EA #BCAEF2 #E8E3FB

Accessibility & contrast

On white

3.43
#9179EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9179EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9179EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9179EA#FFFFFF#000000##000000
##9179EA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#7A90A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9179ea;
/* rgb */ color: rgb(145, 121, 234);
/* oklch */ color: oklch(64.9% 0.164 290.9);
Tailwind
colors: {
  custom: {
    50: '#b5a0f1',
    500: '#9179ea',
    950: '#000000',
  },
}
SCSS
$custom: #9179ea;
$custom-light: #b5a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9179ea",
  "rgb": {
    "r": 145,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 252.743,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64944,
    "c": 0.16402,
    "h": 290.9
  },
  "luminance": 0.25635
}

Semantic roles & 50–950 ramp

primary
#9179EA
secondary
#E9F0CF
accent
#D511AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #9179EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9179EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva