#9F79F7#9F79F7

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

Color values

HEX#9F79F7
RGBrgb(159, 121, 247)
HSLhsl(258, 89%, 72%)
HSVhsv(258, 51%, 97%)
CMYKcmyk(35.6%, 51%, 0%, 3.1%)
CIE-LABlab(59.67, 41.91, -58.15)
CIE-LCHlch(59.67, 71.68, 305.78°)
OKLaboklab(66.96% 0.0765 -0.1645)
OKLCHoklch(66.96% 0.181 294.9)
XYZxyz(37.9196, 27.7604, 91.3381)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F79F7 #D1F779
analogous
#7992F7 #9F79F7 #DE79F7
triadic
#9F79F7 #F79F79 #79F79F
tetradic
#9F79F7 #F77992 #D1F779 #79F7DE
square
#9F79F7 #F77992 #D1F779 #79F7DE
split-complementary
#9F79F7 #F7DE79 #92F779
monochromatic
#500EE8 #763FF4 #9F79F7 #C8B3FA #EAE2FD

Accessibility & contrast

On white

3.21
#9F79F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9F79F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F79F7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F79F7#FFFFFF#000000##000000
##9F79F71.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FB
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#8A92AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f79f7;
/* rgb */ color: rgb(159, 121, 247);
/* oklch */ color: oklch(67.0% 0.181 294.9);
Tailwind
colors: {
  custom: {
    50: '#bfa0fa',
    500: '#9f79f7',
    950: '#000000',
  },
}
SCSS
$custom: #9f79f7;
$custom-light: #bfa0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f79f7",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 258.095,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.18143,
    "h": 294.9
  },
  "luminance": 0.27761
}

Semantic roles & 50–950 ramp

primary
#9F79F7
secondary
#ECF5D6
accent
#E500A0
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85

Preview Lab

Preview with #9F79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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