#9B76E5#9B76E5

#9B76E5 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.0% C 0.163 H 297.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9B76E5
RGBrgb(155, 118, 229)
HSLhsl(260, 68%, 68%)
HSVhsv(260, 48%, 90%)
CMYKcmyk(32.3%, 48.5%, 0%, 10.2%)
CIE-LABlab(57.64, 38.00, -51.42)
CIE-LCHlch(57.64, 63.94, 306.47°)
OKLaboklab(65.04% 0.0739 -0.1449)
OKLCHoklch(65.04% 0.163 297)
XYZxyz(34.1354, 25.5821, 77.2530)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B76E5 #C0E576
analogous
#7688E5 #9B76E5 #D276E5
triadic
#9B76E5 #E59B76 #76E59B
tetradic
#9B76E5 #E57688 #C0E576 #76E5D2
square
#9B76E5 #E57688 #C0E576 #76E5D2
split-complementary
#9B76E5 #E5D276 #88E576
monochromatic
#5724BD #7543DB #9B76E5 #C1A9EF #E6DDF9

Accessibility & contrast

On white

3.43
#9B76E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9B76E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B76E5
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B76E5#FFFFFF#000000##000000
##9B76E51.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#8B8BA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b76e5;
/* rgb */ color: rgb(155, 118, 229);
/* oklch */ color: oklch(65.0% 0.163 297.0);
Tailwind
colors: {
  custom: {
    50: '#bc9eee',
    500: '#9b76e5',
    950: '#000000',
  },
}
SCSS
$custom: #9b76e5;
$custom-light: #bc9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#9b76e5",
  "rgb": {
    "r": 155,
    "g": 118,
    "b": 229
  },
  "hsl": {
    "h": 260,
    "s": 68.098,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65036,
    "c": 0.16266,
    "h": 297
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#9B76E5
secondary
#E1ECCA
accent
#D01592
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9B76E5

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

Preview Lab → · Contrast checker → · Palette generator →

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