#9B79C8#9B79C8

#9B79C8 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.0% C 0.120 H 303.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9B79C8
RGBrgb(155, 121, 200)
HSLhsl(266, 42%, 63%)
HSVhsv(266, 40%, 78%)
CMYKcmyk(22.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(56.89, 29.16, -36.26)
CIE-LCHlch(56.89, 46.53, 308.80°)
OKLaboklab(64.01% 0.0654 -0.1008)
OKLCHoklch(64.01% 0.12 303)
XYZxyz(30.7780, 24.8135, 57.8004)
Luminance0.2481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B79C8 #A6C879
analogous
#797EC8 #9B79C8 #C379C8
triadic
#9B79C8 #C89B79 #79C89B
tetradic
#9B79C8 #C8797E #A6C879 #79C8C3
square
#9B79C8 #C8797E #A6C879 #79C8C3
split-complementary
#9B79C8 #C8C379 #7EC879
monochromatic
#5E3A8D #7B4EB6 #9B79C8 #BBA4DA #DCD0EC

Accessibility & contrast

On white

3.52
#9B79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9B79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B79C8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B79C8#FFFFFF#000000##000000
##9B79C81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CB
Deuteranopia (green-blind)
#6D88C6
Tritanopia (blue-blind)
#938697
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9b79c8;
/* rgb */ color: rgb(155, 121, 200);
/* oklch */ color: oklch(64.0% 0.120 303.0);
Tailwind
colors: {
  custom: {
    50: '#baa0d9',
    500: '#9b79c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b79c8;
$custom-light: #baa0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b79c8",
  "rgb": {
    "r": 155,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 265.823,
    "s": 41.799,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64006,
    "c": 0.12019,
    "h": 303
  },
  "luminance": 0.24813
}

Semantic roles & 50–950 ramp

primary
#9B79C8
secondary
#D0DDC0
accent
#B5317C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9B79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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