#9780EC#9780EC

#9780EC is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.8% C 0.156 H 291.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9780EC
RGBrgb(151, 128, 236)
HSLhsl(253, 74%, 71%)
HSVhsv(253, 46%, 93%)
CMYKcmyk(36%, 45.8%, 0%, 7.5%)
CIE-LABlab(59.95, 33.09, -51.66)
CIE-LCHlch(59.95, 61.35, 302.64°)
OKLaboklab(66.81% 0.057 -0.1457)
OKLCHoklch(66.81% 0.156 291.4)
XYZxyz(35.6180, 28.0729, 82.8826)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780EC #D5EC80
analogous
#809FEC #9780EC #CD80EC
triadic
#9780EC #EC9780 #80EC97
tetradic
#9780EC #EC809F #D5EC80 #80ECCD
square
#9780EC #EC809F #D5EC80 #80ECCD
split-complementary
#9780EC #ECCD80 #9FEC80
monochromatic
#461FD2 #6B4BE4 #9780EC #C3B5F4 #E9E4FB

Accessibility & contrast

On white

3.17
#9780EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9780EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780EC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780EC#FFFFFF#000000##000000
##9780EC1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#8295AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9780ec;
/* rgb */ color: rgb(151, 128, 236);
/* oklch */ color: oklch(66.8% 0.156 291.4);
Tailwind
colors: {
  custom: {
    50: '#b9a5f2',
    500: '#9780ec',
    950: '#000000',
  },
}
SCSS
$custom: #9780ec;
$custom-light: #b9a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9780ec",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 252.778,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.15644,
    "h": 291.4
  },
  "luminance": 0.28074
}

Semantic roles & 50–950 ramp

primary
#9780EC
secondary
#ECF2D6
accent
#D60FAC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9780EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva