#9E77CD#9E77CD

#9E77CD is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.2% C 0.131 H 303.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9E77CD
RGBrgb(158, 119, 205)
HSLhsl(267, 46%, 64%)
HSVhsv(267, 42%, 80%)
CMYKcmyk(22.9%, 42%, 0%, 19.6%)
CIE-LABlab(56.95, 32.36, -38.99)
CIE-LCHlch(56.95, 50.67, 309.69°)
OKLaboklab(64.19% 0.0729 -0.1086)
OKLCHoklch(64.19% 0.131 303.8)
XYZxyz(31.7145, 24.8706, 60.8755)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E77CD #A6CD77
analogous
#777BCD #9E77CD #C977CD
triadic
#9E77CD #CD9E77 #77CD9E
tetradic
#9E77CD #CD777B #A6CD77 #77CDC9
square
#9E77CD #CD777B #A6CD77 #77CDC9
split-complementary
#9E77CD #CDC977 #7BCD77
monochromatic
#603693 #7E4ABD #9E77CD #BEA4DD #DED0EE

Accessibility & contrast

On white

3.52
#9E77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#9E77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E77CD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E77CD#FFFFFF#000000##000000
##9E77CD1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#6A89CB
Tritanopia (blue-blind)
#968598
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9e77cd;
/* rgb */ color: rgb(158, 119, 205);
/* oklch */ color: oklch(64.2% 0.131 303.8);
Tailwind
colors: {
  custom: {
    50: '#bc9fdc',
    500: '#9e77cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e77cd;
$custom-light: #bc9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e77cd",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 267.209,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.1308,
    "h": 303.8
  },
  "luminance": 0.24871
}

Semantic roles & 50–950 ramp

primary
#9E77CD
secondary
#D1DFC1
accent
#B92C79
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9E77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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