#9F79FB#9F79FB

#9F79FB is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.2% C 0.186 H 294.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F79FB
RGBrgb(159, 121, 251)
HSLhsl(258, 94%, 73%)
HSVhsv(258, 52%, 98%)
CMYKcmyk(36.7%, 51.8%, 0%, 1.6%)
CIE-LABlab(59.90, 42.95, -60.00)
CIE-LCHlch(59.90, 73.79, 305.59°)
OKLaboklab(67.2% 0.0768 -0.1699)
OKLCHoklch(67.2% 0.186 294.3)
XYZxyz(38.5435, 28.0099, 94.6238)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F79FB #D5FB79
analogous
#7994FB #9F79FB #E079FB
triadic
#9F79FB #FB9F79 #79FB9F
tetradic
#9F79FB #FB7994 #D5FB79 #79FBE0
square
#9F79FB #FB7994 #D5FB79 #79FBE0
split-complementary
#9F79FB #FBE079 #94FB79
monochromatic
#4C07F2 #743EF9 #9F79FB #CAB4FD #EAE1FE

Accessibility & contrast

On white

3.18
#9F79FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#9F79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F79FB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F79FB#FFFFFF#000000##000000
##9F79FB1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#8893AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f79fb;
/* rgb */ color: rgb(159, 121, 251);
/* oklch */ color: oklch(67.2% 0.186 294.3);
Tailwind
colors: {
  custom: {
    50: '#c0a0fd',
    500: '#9f79fb',
    950: '#000000',
  },
}
SCSS
$custom: #9f79fb;
$custom-light: #c0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f79fb",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 257.538,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.18645,
    "h": 294.3
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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