#9B76EC#9B76EC

#9B76EC is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.4% C 0.172 H 295.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9B76EC
RGBrgb(155, 118, 236)
HSLhsl(259, 76%, 69%)
HSVhsv(259, 50%, 93%)
CMYKcmyk(34.3%, 50%, 0%, 7.5%)
CIE-LABlab(58.02, 39.79, -54.72)
CIE-LCHlch(58.02, 67.65, 306.02°)
OKLaboklab(65.44% 0.0746 -0.1545)
OKLCHoklch(65.44% 0.172 295.8)
XYZxyz(35.1325, 25.9810, 82.5045)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B76EC #C7EC76
analogous
#768CEC #9B76EC #D676EC
triadic
#9B76EC #EC9B76 #76EC9B
tetradic
#9B76EC #EC768C #C7EC76 #76ECD6
square
#9B76EC #EC768C #C7EC76 #76ECD6
split-complementary
#9B76EC #ECD676 #8CEC76
monochromatic
#531CCB #7440E5 #9B76EC #C2ACF3 #E9E1FB

Accessibility & contrast

On white

3.39
#9B76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9B76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B76EC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B76EC#FFFFFF#000000##000000
##9B76EC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#528AE9
Tritanopia (blue-blind)
#888DA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b76ec;
/* rgb */ color: rgb(155, 118, 236);
/* oklch */ color: oklch(65.4% 0.172 295.8);
Tailwind
colors: {
  custom: {
    50: '#bc9ef3',
    500: '#9b76ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b76ec;
$custom-light: #bc9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b76ec",
  "rgb": {
    "r": 155,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 258.814,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65444,
    "c": 0.17159,
    "h": 295.8
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#9B76EC
secondary
#E5F0CE
accent
#D80E98
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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