#9D77DD#9D77DD

#9D77DD is a light, vivid violet. Relative luminance 0.256; OKLCH L 64.9% C 0.151 H 299.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D77DD
RGBrgb(157, 119, 221)
HSLhsl(262, 60%, 67%)
HSVhsv(262, 46%, 87%)
CMYKcmyk(29%, 46.2%, 0%, 13.3%)
CIE-LABlab(57.64, 35.96, -46.93)
CIE-LCHlch(57.64, 59.12, 307.46°)
OKLaboklab(64.94% 0.0741 -0.1317)
OKLCHoklch(64.94% 0.151 299.4)
XYZxyz(33.5495, 25.5820, 71.5629)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D77DD #B7DD77
analogous
#7784DD #9D77DD #D077DD
triadic
#9D77DD #DD9D77 #77DD9D
tetradic
#9D77DD #DD7784 #B7DD77 #77DDD0
square
#9D77DD #DD7784 #B7DD77 #77DDD0
split-complementary
#9D77DD #DDD077 #84DD77
monochromatic
#5C2CAE #7A46D1 #9D77DD #C0A8E9 #E4D9F5

Accessibility & contrast

On white

3.43
#9D77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9D77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D77DD
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D77DD#FFFFFF#000000##000000
##9D77DD1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE1
Deuteranopia (green-blind)
#608ADA
Tritanopia (blue-blind)
#90899F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d77dd;
/* rgb */ color: rgb(157, 119, 221);
/* oklch */ color: oklch(64.9% 0.151 299.4);
Tailwind
colors: {
  custom: {
    50: '#bc9fe8',
    500: '#9d77dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d77dd;
$custom-light: #bc9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d77dd",
  "rgb": {
    "r": 157,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 262.353,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64945,
    "c": 0.15115,
    "h": 299.4
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#9D77DD
secondary
#DCE8C7
accent
#C81E88
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9D77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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