#9F79FA#9F79FA

#9F79FA is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.1% C 0.185 H 294.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9F79FA
RGBrgb(159, 121, 250)
HSLhsl(258, 93%, 73%)
HSVhsv(258, 52%, 98%)
CMYKcmyk(36.4%, 51.6%, 0%, 2%)
CIE-LABlab(59.84, 42.69, -59.54)
CIE-LCHlch(59.84, 73.26, 305.64°)
OKLaboklab(67.14% 0.0767 -0.1686)
OKLCHoklch(67.14% 0.185 294.5)
XYZxyz(38.3863, 27.9470, 93.7958)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F79FA #D4FA79
analogous
#7994FA #9F79FA #DF79FA
triadic
#9F79FA #FA9F79 #79FA9F
tetradic
#9F79FA #FA7994 #D4FA79 #79FADF
square
#9F79FA #FA7994 #D4FA79 #79FADF
split-complementary
#9F79FA #FADF79 #94FA79
monochromatic
#4D09F0 #753EF8 #9F79FA #C9B4FC #EAE2FE

Accessibility & contrast

On white

3.19
#9F79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9F79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F79FA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F79FA#FFFFFF#000000##000000
##9F79FA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f79fa;
/* rgb */ color: rgb(159, 121, 250);
/* oklch */ color: oklch(67.1% 0.185 294.5);
Tailwind
colors: {
  custom: {
    50: '#c0a0fd',
    500: '#9f79fa',
    950: '#000000',
  },
}
SCSS
$custom: #9f79fa;
$custom-light: #c0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f79fa",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 257.674,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.1852,
    "h": 294.5
  },
  "luminance": 0.27948
}

Semantic roles & 50–950 ramp

primary
#9F79FA
secondary
#ECF6D5
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #9F79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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