#9B79EB#9B79EB

#9B79EB is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.9% C 0.166 H 295.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9B79EB
RGBrgb(155, 121, 235)
HSLhsl(258, 74%, 70%)
HSVhsv(258, 49%, 92%)
CMYKcmyk(34%, 48.5%, 0%, 7.8%)
CIE-LABlab(58.64, 37.84, -53.17)
CIE-LCHlch(58.64, 65.26, 305.44°)
OKLaboklab(65.89% 0.0707 -0.15)
OKLCHoklch(65.89% 0.166 295.2)
XYZxyz(35.3465, 26.6409, 81.8611)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79EB #C9EB79
analogous
#7990EB #9B79EB #D479EB
triadic
#9B79EB #EB9B79 #79EB9B
tetradic
#9B79EB #EB7990 #C9EB79 #79EBD4
square
#9B79EB #EB7990 #C9EB79 #79EBD4
split-complementary
#9B79EB #EBD479 #90EB79
monochromatic
#521ECB #7344E3 #9B79EB #C3AEF3 #EAE4FB

Accessibility & contrast

On white

3.32
#9B79EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9B79EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79EB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79EB#FFFFFF#000000##000000
##9B79EB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#898FA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b79eb;
/* rgb */ color: rgb(155, 121, 235);
/* oklch */ color: oklch(65.9% 0.166 295.2);
Tailwind
colors: {
  custom: {
    50: '#bca0f2',
    500: '#9b79eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b79eb;
$custom-light: #bca0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79eb",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 257.895,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.16581,
    "h": 295.2
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#9B79EB
secondary
#E6F0D0
accent
#D60F9B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9B79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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