#9B79EA#9B79EA

#9B79EA is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.8% C 0.165 H 295.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9B79EA
RGBrgb(155, 121, 234)
HSLhsl(258, 73%, 70%)
HSVhsv(258, 48%, 92%)
CMYKcmyk(33.8%, 48.3%, 0%, 8.2%)
CIE-LABlab(58.59, 37.58, -52.70)
CIE-LCHlch(58.59, 64.72, 305.49°)
OKLaboklab(65.83% 0.0706 -0.1486)
OKLCHoklch(65.83% 0.165 295.4)
XYZxyz(35.2025, 26.5832, 81.1024)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79EA #C8EA79
analogous
#7990EA #9B79EA #D379EA
triadic
#9B79EA #EA9B79 #79EA9B
tetradic
#9B79EA #EA7990 #C8EA79 #79EAD3
square
#9B79EA #EA7990 #C8EA79 #79EAD3
split-complementary
#9B79EA #EAD379 #90EA79
monochromatic
#5320C9 #7444E2 #9B79EA #C2AEF2 #EAE3FB

Accessibility & contrast

On white

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

On black

6.32
#9B79EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79EA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79EA#FFFFFF#000000##000000
##9B79EA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#898FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b79ea;
/* rgb */ color: rgb(155, 121, 234);
/* oklch */ color: oklch(65.8% 0.165 295.4);
Tailwind
colors: {
  custom: {
    50: '#bca0f1',
    500: '#9b79ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b79ea;
$custom-light: #bca0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79ea",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 258.053,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65832,
    "c": 0.16453,
    "h": 295.4
  },
  "luminance": 0.26584
}

Semantic roles & 50–950 ramp

primary
#9B79EA
secondary
#E6F0CF
accent
#D5119A
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120F17
muted
#817E85

Preview Lab

Preview with #9B79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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