#9B79FA#9B79FA

#9B79FA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.185 H 292.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9B79FA
RGBrgb(155, 121, 250)
HSLhsl(256, 93%, 73%)
HSVhsv(256, 52%, 98%)
CMYKcmyk(38%, 51.6%, 0%, 2%)
CIE-LABlab(59.48, 41.74, -60.15)
CIE-LCHlch(59.48, 73.21, 304.76°)
OKLaboklab(66.78% 0.0718 -0.1705)
OKLCHoklch(66.78% 0.185 292.9)
XYZxyz(37.6057, 27.5445, 93.7592)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79FA #D8FA79
analogous
#7997FA #9B79FA #DC79FA
triadic
#9B79FA #FA9B79 #79FA9B
tetradic
#9B79FA #FA7997 #D8FA79 #79FADC
square
#9B79FA #FA7997 #D8FA79 #79FADC
split-complementary
#9B79FA #FADC79 #97FA79
monochromatic
#4609F0 #6F3EF8 #9B79FA #C7B4FC #E9E2FE

Accessibility & contrast

On white

3.23
#9B79FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9B79FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79FA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79FA#FFFFFF#000000##000000
##9B79FA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#8393AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b79fa;
/* rgb */ color: rgb(155, 121, 250);
/* oklch */ color: oklch(66.8% 0.185 292.9);
Tailwind
colors: {
  custom: {
    50: '#bda0fd',
    500: '#9b79fa',
    950: '#000000',
  },
}
SCSS
$custom: #9b79fa;
$custom-light: #bda0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79fa",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 255.814,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.18498,
    "h": 292.9
  },
  "luminance": 0.27545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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