#9B79CE#9B79CE

#9B79CE is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.3% C 0.128 H 301.3°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#9B79CE
RGBrgb(155, 121, 206)
HSLhsl(264, 46%, 64%)
HSVhsv(264, 41%, 81%)
CMYKcmyk(24.8%, 41.3%, 0%, 19.2%)
CIE-LABlab(57.17, 30.59, -39.22)
CIE-LCHlch(57.17, 49.74, 307.95°)
OKLaboklab(64.31% 0.0666 -0.1094)
OKLCHoklch(64.31% 0.128 301.3)
XYZxyz(31.4931, 25.0995, 61.5661)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79CE #ACCE79
analogous
#7982CE #9B79CE #C679CE
triadic
#9B79CE #CE9B79 #79CE9B
tetradic
#9B79CE #CE7982 #ACCE79 #79CEC6
square
#9B79CE #CE7982 #ACCE79 #79CEC6
split-complementary
#9B79CE #CEC679 #82CE79
monochromatic
#5D3796 #7A4CBE #9B79CE #BCA6DE #DED3EF

Accessibility & contrast

On white

3.49
#9B79CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#9B79CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79CE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79CE#FFFFFF#000000##000000
##9B79CE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6389D1
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#92879A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b79ce;
/* rgb */ color: rgb(155, 121, 206);
/* oklch */ color: oklch(64.3% 0.128 301.3);
Tailwind
colors: {
  custom: {
    50: '#baa0dd',
    500: '#9b79ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b79ce;
$custom-light: #baa0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79ce",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 264,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.12806,
    "h": 301.3
  },
  "luminance": 0.251
}

Semantic roles & 50–950 ramp

primary
#9B79CE
secondary
#D4E0C3
accent
#BA2C81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9B79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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