#9E79FE#9E79FE

#9E79FE is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.3% C 0.190 H 293.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9E79FE
RGBrgb(158, 121, 254)
HSLhsl(257, 99%, 74%)
HSVhsv(257, 52%, 100%)
CMYKcmyk(37.8%, 52.4%, 0%, 0.4%)
CIE-LABlab(59.98, 43.49, -61.53)
CIE-LCHlch(59.98, 75.35, 305.25°)
OKLaboklab(67.3% 0.0757 -0.1744)
OKLCHoklch(67.3% 0.19 293.5)
XYZxyz(38.8226, 28.0987, 97.1249)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E79FE #D9FE79
analogous
#7996FE #9E79FE #E179FE
triadic
#9E79FE #FE9E79 #79FE9E
tetradic
#9E79FE #FE7996 #D9FE79 #79FEE1
square
#9E79FE #FE7996 #D9FE79 #79FEE1
split-complementary
#9E79FE #FEE179 #96FE79
monochromatic
#4702FB #723CFE #9E79FE #CAB6FE #E9E1FF

Accessibility & contrast

On white

3.17
#9E79FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#9E79FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E79FE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E79FE#FFFFFF#000000##000000
##9E79FE1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#488EFB
Tritanopia (blue-blind)
#8694B0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e79fe;
/* rgb */ color: rgb(158, 121, 254);
/* oklch */ color: oklch(67.3% 0.190 293.5);
Tailwind
colors: {
  custom: {
    50: '#bfa0ff',
    500: '#9e79fe',
    950: '#000000',
  },
}
SCSS
$custom: #9e79fe;
$custom-light: #bfa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e79fe",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 254
  },
  "hsl": {
    "h": 256.692,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67295,
    "c": 0.19015,
    "h": 293.5
  },
  "luminance": 0.281
}

Semantic roles & 50–950 ramp

primary
#9E79FE
secondary
#EDF7D4
accent
#E600A6
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9E79FE

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

Preview Lab → · Contrast checker → · Palette generator →

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