#9D77E1#9D77E1

#9D77E1 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.2% C 0.156 H 298.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9D77E1
RGBrgb(157, 119, 225)
HSLhsl(262, 64%, 67%)
HSVhsv(262, 47%, 88%)
CMYKcmyk(30.2%, 47.1%, 0%, 11.8%)
CIE-LABlab(57.84, 36.95, -48.84)
CIE-LCHlch(57.84, 61.24, 307.11°)
OKLaboklab(65.17% 0.0746 -0.1373)
OKLCHoklch(65.17% 0.156 298.5)
XYZxyz(34.0888, 25.7977, 74.4031)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D77E1 #BBE177
analogous
#7786E1 #9D77E1 #D277E1
triadic
#9D77E1 #E19D77 #77E19D
tetradic
#9D77E1 #E17786 #BBE177 #77E1D2
square
#9D77E1 #E17786 #BBE177 #77E1D2
split-complementary
#9D77E1 #E1D277 #86E177
monochromatic
#5B28B6 #7945D6 #9D77E1 #C1A9EC #E5DBF7

Accessibility & contrast

On white

3.41
#9D77E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9D77E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D77E1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D77E1#FFFFFF#000000##000000
##9D77E11.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558BE5
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#8F8BA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9d77e1;
/* rgb */ color: rgb(157, 119, 225);
/* oklch */ color: oklch(65.2% 0.156 298.5);
Tailwind
colors: {
  custom: {
    50: '#bd9feb',
    500: '#9d77e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d77e1;
$custom-light: #bd9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d77e1",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 225
  },
  "hsl": {
    "h": 261.509,
    "s": 63.855,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.15627,
    "h": 298.5
  },
  "luminance": 0.25798
}

Semantic roles & 50–950 ramp

primary
#9D77E1
secondary
#DFEAC9
accent
#CC1A8C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9D77E1

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

Preview Lab → · Contrast checker → · Palette generator →

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