#9D77FB#9D77FB

#9D77FB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.189 H 293.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9D77FB
RGBrgb(157, 119, 251)
HSLhsl(257, 94%, 73%)
HSVhsv(257, 53%, 98%)
CMYKcmyk(37.5%, 52.6%, 0%, 1.6%)
CIE-LABlab(59.27, 43.59, -61.01)
CIE-LCHlch(59.27, 74.98, 305.55°)
OKLaboklab(66.7% 0.0767 -0.1729)
OKLCHoklch(66.7% 0.189 293.9)
XYZxyz(37.9095, 27.3259, 94.5252)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D77FB #D5FB77
analogous
#7793FB #9D77FB #DF77FB
triadic
#9D77FB #FB9D77 #77FB9D
tetradic
#9D77FB #FB7793 #D5FB77 #77FBDF
square
#9D77FB #FB7793 #D5FB77 #77FBDF
split-complementary
#9D77FB #FBDF77 #93FB77
monochromatic
#4A07F1 #723CF9 #9D77FB #C8B2FD #EAE1FE

Accessibility & contrast

On white

3.25
#9D77FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9D77FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D77FB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D77FB#FFFFFF#000000##000000
##9D77FB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#478CF8
Tritanopia (blue-blind)
#8692AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d77fb;
/* rgb */ color: rgb(157, 119, 251);
/* oklch */ color: oklch(66.7% 0.189 293.9);
Tailwind
colors: {
  custom: {
    50: '#be9ffd',
    500: '#9d77fb',
    950: '#000000',
  },
}
SCSS
$custom: #9d77fb;
$custom-light: #be9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d77fb",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 257.273,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.1892,
    "h": 293.9
  },
  "luminance": 0.27327
}

Semantic roles & 50–950 ramp

primary
#9D77FB
secondary
#EDF6D5
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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