#9E80CD#9E80CD

#9E80CD is a light, moderate violet. Relative luminance 0.271; OKLCH L 65.8% C 0.116 H 301.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E80CD
RGBrgb(158, 128, 205)
HSLhsl(263, 44%, 65%)
HSVhsv(263, 38%, 80%)
CMYKcmyk(22.9%, 37.6%, 0%, 19.6%)
CIE-LABlab(59.08, 27.22, -35.65)
CIE-LCHlch(59.08, 44.85, 307.36°)
OKLaboklab(65.81% 0.06 -0.099)
OKLCHoklch(65.81% 0.116 301.2)
XYZxyz(32.8368, 27.1152, 61.2496)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E80CD #AFCD80
analogous
#8088CD #9E80CD #C580CD
triadic
#9E80CD #CD9E80 #80CD9E
tetradic
#9E80CD #CD8088 #AFCD80 #80CDC5
square
#9E80CD #CD8088 #AFCD80 #80CDC5
split-complementary
#9E80CD #CDC580 #88CD80
monochromatic
#5F3B97 #7C54BC #9E80CD #C0ACDE #E1D8F0

Accessibility & contrast

On white

3.27
#9E80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9E80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E80CD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E80CD#FFFFFF#000000##000000
##9E80CD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e80cd;
/* rgb */ color: rgb(158, 128, 205);
/* oklch */ color: oklch(65.8% 0.116 301.2);
Tailwind
colors: {
  custom: {
    50: '#bca5dc',
    500: '#9e80cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e80cd;
$custom-light: #bca5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9e80cd",
  "rgb": {
    "r": 158,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 263.377,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65806,
    "c": 0.11579,
    "h": 301.2
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

primary
#9E80CD
secondary
#D7E1C7
accent
#B72F82
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #9E80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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