#9E79EA#9E79EA

#9E79EA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.1% C 0.165 H 296.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9E79EA
RGBrgb(158, 121, 234)
HSLhsl(260, 73%, 70%)
HSVhsv(260, 48%, 92%)
CMYKcmyk(32.5%, 48.3%, 0%, 8.2%)
CIE-LABlab(58.87, 38.34, -52.24)
CIE-LCHlch(58.87, 64.80, 306.28°)
OKLaboklab(66.11% 0.0742 -0.1472)
OKLCHoklch(66.11% 0.165 296.7)
XYZxyz(35.7855, 26.8839, 81.1297)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E79EA #C5EA79
analogous
#798DEA #9E79EA #D779EA
triadic
#9E79EA #EA9E79 #79EA9E
tetradic
#9E79EA #EA798D #C5EA79 #79EAD7
square
#9E79EA #EA798D #C5EA79 #79EAD7
split-complementary
#9E79EA #EAD779 #8DEA79
monochromatic
#5720C9 #7844E2 #9E79EA #C4AEF2 #EBE3FB

Accessibility & contrast

On white

3.29
#9E79EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9E79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E79EA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E79EA#FFFFFF#000000##000000
##9E79EA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#8D8FA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e79ea;
/* rgb */ color: rgb(158, 121, 234);
/* oklch */ color: oklch(66.1% 0.165 296.7);
Tailwind
colors: {
  custom: {
    50: '#bea0f1',
    500: '#9e79ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e79ea;
$custom-light: #bea0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e79ea",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 259.646,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66108,
    "c": 0.16485,
    "h": 296.7
  },
  "luminance": 0.26884
}

Semantic roles & 50–950 ramp

primary
#9E79EA
secondary
#E5F0CF
accent
#D51195
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9E79EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9E79EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva