#9B79FB#9B79FB

#9B79FB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.8% C 0.186 H 292.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9B79FB
RGBrgb(155, 121, 251)
HSLhsl(256, 94%, 73%)
HSVhsv(256, 52%, 98%)
CMYKcmyk(38.2%, 51.8%, 0%, 1.6%)
CIE-LABlab(59.53, 42.00, -60.60)
CIE-LCHlch(59.53, 73.74, 304.73°)
OKLaboklab(66.84% 0.0719 -0.1718)
OKLCHoklch(66.84% 0.186 292.7)
XYZxyz(37.7629, 27.6074, 94.5872)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79FB #D9FB79
analogous
#7998FB #9B79FB #DC79FB
triadic
#9B79FB #FB9B79 #79FB9B
tetradic
#9B79FB #FB7998 #D9FB79 #79FBDC
square
#9B79FB #FB7998 #D9FB79 #79FBDC
split-complementary
#9B79FB #FBDC79 #98FB79
monochromatic
#4507F2 #6F3EF9 #9B79FB #C7B4FD #E9E1FE

Accessibility & contrast

On white

3.22
#9B79FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9B79FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79FB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79FB#FFFFFF#000000##000000
##9B79FB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4191FF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#8294AF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b79fb;
/* rgb */ color: rgb(155, 121, 251);
/* oklch */ color: oklch(66.8% 0.186 292.7);
Tailwind
colors: {
  custom: {
    50: '#bda0fd',
    500: '#9b79fb',
    950: '#000000',
  },
}
SCSS
$custom: #9b79fb;
$custom-light: #bda0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79fb",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 255.692,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.18624,
    "h": 292.7
  },
  "luminance": 0.27608
}

Semantic roles & 50–950 ramp

primary
#9B79FB
secondary
#EEF6D5
accent
#E600A9
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #9B79FB

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

Preview Lab → · Contrast checker → · Palette generator →

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