#9D80CD#9D80CD

#9D80CD is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.7% C 0.116 H 300.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9D80CD
RGBrgb(157, 128, 205)
HSLhsl(263, 44%, 65%)
HSVhsv(263, 38%, 80%)
CMYKcmyk(23.4%, 37.6%, 0%, 19.6%)
CIE-LABlab(58.99, 26.92, -35.80)
CIE-LCHlch(58.99, 44.79, 306.94°)
OKLaboklab(65.71% 0.0588 -0.0995)
OKLCHoklch(65.71% 0.116 300.6)
XYZxyz(32.6408, 27.0141, 61.2404)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D80CD #B0CD80
analogous
#808ACD #9D80CD #C380CD
triadic
#9D80CD #CD9D80 #80CD9D
tetradic
#9D80CD #CD808A #B0CD80 #80CDC3
square
#9D80CD #CD808A #B0CD80 #80CDC3
split-complementary
#9D80CD #CDC380 #8ACD80
monochromatic
#5E3B97 #7B54BC #9D80CD #BFACDE #E1D8F0

Accessibility & contrast

On white

3.28
#9D80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9D80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D80CD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D80CD#FFFFFF#000000##000000
##9D80CD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#948D9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d80cd;
/* rgb */ color: rgb(157, 128, 205);
/* oklch */ color: oklch(65.7% 0.116 300.6);
Tailwind
colors: {
  custom: {
    50: '#bba5dc',
    500: '#9d80cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d80cd;
$custom-light: #bba5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d80cd",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 262.597,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65713,
    "c": 0.11557,
    "h": 300.6
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#9D80CD
secondary
#D8E1C7
accent
#B72F83
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9D80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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