#9B77EA#9B77EA

#9B77EA is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.5% C 0.168 H 295.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9B77EA
RGBrgb(155, 119, 234)
HSLhsl(259, 73%, 69%)
HSVhsv(259, 49%, 92%)
CMYKcmyk(33.8%, 49.1%, 0%, 8.2%)
CIE-LABlab(58.13, 38.71, -53.42)
CIE-LCHlch(58.13, 65.97, 305.93°)
OKLaboklab(65.49% 0.0731 -0.1507)
OKLCHoklch(65.49% 0.168 295.9)
XYZxyz(34.9619, 26.1022, 81.0222)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B77EA #C6EA77
analogous
#778DEA #9B77EA #D577EA
triadic
#9B77EA #EA9B77 #77EA9B
tetradic
#9B77EA #EA778D #C6EA77 #77EAD5
square
#9B77EA #EA778D #C6EA77 #77EAD5
split-complementary
#9B77EA #EAD577 #8DEA77
monochromatic
#541FC8 #7442E2 #9B77EA #C2ACF2 #E9E1FA

Accessibility & contrast

On white

3.38
#9B77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9B77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B77EA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B77EA#FFFFFF#000000##000000
##9B77EA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CEE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#898DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b77ea;
/* rgb */ color: rgb(155, 119, 234);
/* oklch */ color: oklch(65.5% 0.168 295.9);
Tailwind
colors: {
  custom: {
    50: '#bc9ff1',
    500: '#9b77ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b77ea;
$custom-light: #bc9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b77ea",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 258.783,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.16755,
    "h": 295.9
  },
  "luminance": 0.26103
}

Semantic roles & 50–950 ramp

primary
#9B77EA
secondary
#E5EFCE
accent
#D51098
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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