#9B79E7#9B79E7

#9B79E7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.161 H 295.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B79E7
RGBrgb(155, 121, 231)
HSLhsl(259, 70%, 69%)
HSVhsv(259, 48%, 91%)
CMYKcmyk(32.9%, 47.6%, 0%, 9.4%)
CIE-LABlab(58.43, 36.81, -51.28)
CIE-LCHlch(58.43, 63.13, 305.67°)
OKLaboklab(65.66% 0.0702 -0.1445)
OKLCHoklch(65.66% 0.161 295.9)
XYZxyz(34.7751, 26.4123, 78.8518)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79E7 #C5E779
analogous
#798EE7 #9B79E7 #D279E7
triadic
#9B79E7 #E79B79 #79E79B
tetradic
#9B79E7 #E7798E #C5E779 #79E7D2
square
#9B79E7 #E7798E #C5E779 #79E7D2
split-complementary
#9B79E7 #E7D279 #8EE779
monochromatic
#5423C3 #7445DE #9B79E7 #C2ADF0 #E8E1FA

Accessibility & contrast

On white

3.34
#9B79E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9B79E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79E7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79E7#FFFFFF#000000##000000
##9B79E71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#8A8EA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b79e7;
/* rgb */ color: rgb(155, 121, 231);
/* oklch */ color: oklch(65.7% 0.161 295.9);
Tailwind
colors: {
  custom: {
    50: '#bca0ef',
    500: '#9b79e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b79e7;
$custom-light: #bca0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79e7",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 258.545,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6566,
    "c": 0.16066,
    "h": 295.9
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#9B79E7
secondary
#E4EECE
accent
#D21497
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #9B79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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