#9F79FD#9F79FD

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

Color values

HEX#9F79FD
RGBrgb(159, 121, 253)
HSLhsl(257, 97%, 73%)
HSVhsv(257, 52%, 99%)
CMYKcmyk(37.2%, 52.2%, 0%, 0.8%)
CIE-LABlab(60.01, 43.46, -60.92)
CIE-LCHlch(60.01, 74.83, 305.51°)
OKLaboklab(67.32% 0.0769 -0.1726)
OKLCHoklch(67.32% 0.189 294)
XYZxyz(38.8604, 28.1367, 96.2930)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F79FD #D7FD79
analogous
#7995FD #9F79FD #E179FD
triadic
#9F79FD #FD9F79 #79FD9F
tetradic
#9F79FD #FD7995 #D7FD79 #79FDE1
square
#9F79FD #FD7995 #D7FD79 #79FDE1
split-complementary
#9F79FD #FDE179 #95FD79
monochromatic
#4A04F8 #743DFC #9F79FD #CAB5FE #E9E1FF

Accessibility & contrast

On white

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

On black

6.63
#9F79FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F79FD
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F79FD#FFFFFF#000000##000000
##9F79FD1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#4A8EFA
Tritanopia (blue-blind)
#8894B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9f79fd;
/* rgb */ color: rgb(159, 121, 253);
/* oklch */ color: oklch(67.3% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#c0a0ff',
    500: '#9f79fd',
    950: '#000000',
  },
}
SCSS
$custom: #9f79fd;
$custom-light: #c0a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9f79fd",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 257.273,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67323,
    "c": 0.18896,
    "h": 294
  },
  "luminance": 0.28138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F79FD

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

Preview Lab → · Contrast checker → · Palette generator →

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