#9F79EB#9F79EB

#9F79EB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.3% C 0.166 H 297.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F79EB
RGBrgb(159, 121, 235)
HSLhsl(260, 74%, 70%)
HSVhsv(260, 49%, 92%)
CMYKcmyk(32.3%, 48.5%, 0%, 7.8%)
CIE-LABlab(59.01, 38.85, -52.55)
CIE-LCHlch(59.01, 65.35, 306.48°)
OKLaboklab(66.26% 0.0755 -0.1481)
OKLCHoklch(66.26% 0.166 297)
XYZxyz(36.1271, 27.0434, 81.8977)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F79EB #C5EB79
analogous
#798CEB #9F79EB #D879EB
triadic
#9F79EB #EB9F79 #79EB9F
tetradic
#9F79EB #EB798C #C5EB79 #79EBD8
square
#9F79EB #EB798C #C5EB79 #79EBD8
split-complementary
#9F79EB #EBD879 #8CEB79
monochromatic
#581ECB #7944E3 #9F79EB #C5AEF3 #EBE4FB

Accessibility & contrast

On white

3.28
#9F79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9F79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F79EB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F79EB#FFFFFF#000000##000000
##9F79EB1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#5A8DE8
Tritanopia (blue-blind)
#8E8FA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9f79eb;
/* rgb */ color: rgb(159, 121, 235);
/* oklch */ color: oklch(66.3% 0.166 297.0);
Tailwind
colors: {
  custom: {
    50: '#bea0f2',
    500: '#9f79eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f79eb;
$custom-light: #bea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f79eb",
  "rgb": {
    "r": 159,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 260,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.16624,
    "h": 297
  },
  "luminance": 0.27044
}

Semantic roles & 50–950 ramp

primary
#9F79EB
secondary
#E5F0D0
accent
#D60F94
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9F79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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