#9E79FA#9E79FA

#9E79FA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.0% C 0.185 H 294.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9E79FA
RGBrgb(158, 121, 250)
HSLhsl(257, 93%, 73%)
HSVhsv(257, 52%, 98%)
CMYKcmyk(36.8%, 51.6%, 0%, 2%)
CIE-LABlab(59.75, 42.45, -59.69)
CIE-LCHlch(59.75, 73.25, 305.42°)
OKLaboklab(67.05% 0.0755 -0.169)
OKLCHoklch(67.05% 0.185 294.1)
XYZxyz(38.1887, 27.8452, 93.7866)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E79FA #D5FA79
analogous
#7995FA #9E79FA #DE79FA
triadic
#9E79FA #FA9E79 #79FA9E
tetradic
#9E79FA #FA7995 #D5FA79 #79FADE
square
#9E79FA #FA7995 #D5FA79 #79FADE
split-complementary
#9E79FA #FADE79 #95FA79
monochromatic
#4B09F0 #733EF8 #9E79FA #C9B4FC #EAE2FE

Accessibility & contrast

On white

3.20
#9E79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9E79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E79FA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E79FA#FFFFFF#000000##000000
##9E79FA1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#4C8EF7
Tritanopia (blue-blind)
#8793AE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e79fa;
/* rgb */ color: rgb(158, 121, 250);
/* oklch */ color: oklch(67.0% 0.185 294.1);
Tailwind
colors: {
  custom: {
    50: '#bfa0fd',
    500: '#9e79fa',
    950: '#000000',
  },
}
SCSS
$custom: #9e79fa;
$custom-light: #bfa0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e79fa",
  "rgb": {
    "r": 158,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 257.209,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6705,
    "c": 0.18514,
    "h": 294.1
  },
  "luminance": 0.27846
}

Semantic roles & 50–950 ramp

primary
#9E79FA
secondary
#EDF6D5
accent
#E600A4
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9E79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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