#9D77EB#9D77EB

#9D77EB is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.7% C 0.169 H 296.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9D77EB
RGBrgb(157, 119, 235)
HSLhsl(260, 74%, 69%)
HSVhsv(260, 49%, 92%)
CMYKcmyk(33.2%, 49.4%, 0%, 7.8%)
CIE-LABlab(58.38, 39.47, -53.58)
CIE-LCHlch(58.38, 66.55, 306.38°)
OKLaboklab(65.74% 0.0757 -0.1512)
OKLCHoklch(65.74% 0.169 296.6)
XYZxyz(35.4931, 26.3594, 81.7991)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D77EB #C5EB77
analogous
#778BEB #9D77EB #D777EB
triadic
#9D77EB #EB9D77 #77EB9D
tetradic
#9D77EB #EB778B #C5EB77 #77EBD7
square
#9D77EB #EB778B #C5EB77 #77EBD7
split-complementary
#9D77EB #EBD777 #8BEB77
monochromatic
#561ECA #7742E3 #9D77EB #C3ACF3 #EAE2FB

Accessibility & contrast

On white

3.35
#9D77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9D77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D77EB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D77EB#FFFFFF#000000##000000
##9D77EB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#8C8DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d77eb;
/* rgb */ color: rgb(157, 119, 235);
/* oklch */ color: oklch(65.7% 0.169 296.6);
Tailwind
colors: {
  custom: {
    50: '#bd9ff2',
    500: '#9d77eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d77eb;
$custom-light: #bd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d77eb",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 259.655,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.16903,
    "h": 296.6
  },
  "luminance": 0.2636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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