#9D77EF#9D77EF

#9D77EF is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.0% C 0.174 H 295.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D77EF
RGBrgb(157, 119, 239)
HSLhsl(259, 79%, 70%)
HSVhsv(259, 50%, 94%)
CMYKcmyk(34.3%, 50.2%, 0%, 6.3%)
CIE-LABlab(58.60, 40.49, -55.45)
CIE-LCHlch(58.60, 68.66, 306.14°)
OKLaboklab(65.97% 0.076 -0.1567)
OKLCHoklch(65.97% 0.174 295.9)
XYZxyz(36.0775, 26.5932, 84.8768)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D77EF #C9EF77
analogous
#778DEF #9D77EF #D977EF
triadic
#9D77EF #EF9D77 #77EF9D
tetradic
#9D77EF #EF778D #C9EF77 #77EFD9
square
#9D77EF #EF778D #C9EF77 #77EFD9
split-complementary
#9D77EF #EFD977 #8DEF77
monochromatic
#5419D3 #7640E9 #9D77EF #C4AEF5 #EBE4FC

Accessibility & contrast

On white

3.32
#9D77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9D77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D77EF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D77EF#FFFFFF#000000##000000
##9D77EF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#8A8FA8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d77ef;
/* rgb */ color: rgb(157, 119, 239);
/* oklch */ color: oklch(66.0% 0.174 295.9);
Tailwind
colors: {
  custom: {
    50: '#bd9ff5',
    500: '#9d77ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d77ef;
$custom-light: #bd9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d77ef",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 259,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.1741,
    "h": 295.9
  },
  "luminance": 0.26594
}

Semantic roles & 50–950 ramp

primary
#9D77EF
secondary
#E7F2D0
accent
#DB0A99
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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