#9E79EE#9E79EE

#9E79EE is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.3% C 0.170 H 296.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E79EE
RGBrgb(158, 121, 238)
HSLhsl(259, 77%, 70%)
HSVhsv(259, 49%, 93%)
CMYKcmyk(33.6%, 49.2%, 0%, 6.7%)
CIE-LABlab(59.08, 39.36, -54.12)
CIE-LCHlch(59.08, 66.92, 306.03°)
OKLaboklab(66.34% 0.0746 -0.1527)
OKLCHoklch(66.34% 0.17 296)
XYZxyz(36.3667, 27.1163, 84.1903)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E79EE #C9EE79
analogous
#798FEE #9E79EE #D879EE
triadic
#9E79EE #EE9E79 #79EE9E
tetradic
#9E79EE #EE798F #C9EE79 #79EED8
square
#9E79EE #EE798F #C9EE79 #79EED8
split-complementary
#9E79EE #EED879 #8FEE79
monochromatic
#551BD2 #7743E7 #9E79EE #C5AFF5 #EBE4FC

Accessibility & contrast

On white

3.27
#9E79EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9E79EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E79EE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E79EE#FFFFFF#000000##000000
##9E79EE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF2
Deuteranopia (green-blind)
#578DEB
Tritanopia (blue-blind)
#8C90A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e79ee;
/* rgb */ color: rgb(158, 121, 238);
/* oklch */ color: oklch(66.3% 0.170 296.0);
Tailwind
colors: {
  custom: {
    50: '#bea0f4',
    500: '#9e79ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e79ee;
$custom-light: #bea0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e79ee",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 238
  },
  "hsl": {
    "h": 258.974,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.16995,
    "h": 296
  },
  "luminance": 0.27117
}

Semantic roles & 50–950 ramp

primary
#9E79EE
secondary
#E7F1D1
accent
#DA0C99
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9E79EE

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

Preview Lab → · Contrast checker → · Palette generator →

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