#9B77EF#9B77EF

#9B77EF is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.174 H 295.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B77EF
RGBrgb(155, 119, 239)
HSLhsl(258, 79%, 70%)
HSVhsv(258, 50%, 94%)
CMYKcmyk(35.1%, 50.2%, 0%, 6.3%)
CIE-LABlab(58.41, 40.00, -55.76)
CIE-LCHlch(58.41, 68.62, 305.65°)
OKLaboklab(65.79% 0.0735 -0.1576)
OKLCHoklch(65.79% 0.174 295)
XYZxyz(35.6904, 26.3936, 84.8587)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B77EF #CBEF77
analogous
#778FEF #9B77EF #D777EF
triadic
#9B77EF #EF9B77 #77EF9B
tetradic
#9B77EF #EF778F #CBEF77 #77EFD7
square
#9B77EF #EF778F #CBEF77 #77EFD7
split-complementary
#9B77EF #EFD777 #8FEF77
monochromatic
#5119D3 #7340E9 #9B77EF #C3AEF5 #EBE4FC

Accessibility & contrast

On white

3.34
#9B77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9B77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B77EF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B77EF#FFFFFF#000000##000000
##9B77EF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#878FA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b77ef;
/* rgb */ color: rgb(155, 119, 239);
/* oklch */ color: oklch(65.8% 0.174 295.0);
Tailwind
colors: {
  custom: {
    50: '#bc9ff5',
    500: '#9b77ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b77ef;
$custom-light: #bc9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b77ef",
  "rgb": {
    "r": 155,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 258,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.17392,
    "h": 295
  },
  "luminance": 0.26394
}

Semantic roles & 50–950 ramp

primary
#9B77EF
secondary
#E8F2D0
accent
#DB0A9D
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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