#9780DC#9780DC

#9780DC is a light, vivid violet. Relative luminance 0.272; OKLCH L 65.9% C 0.135 H 293.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9780DC
RGBrgb(151, 128, 220)
HSLhsl(255, 57%, 68%)
HSVhsv(255, 42%, 86%)
CMYKcmyk(31.4%, 41.8%, 0%, 13.7%)
CIE-LABlab(59.14, 28.93, -44.02)
CIE-LCHlch(59.14, 52.67, 303.31°)
OKLaboklab(65.93% 0.0546 -0.1234)
OKLCHoklch(65.93% 0.135 293.9)
XYZxyz(33.3967, 27.1844, 71.1839)
Luminance0.2718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780DC #C5DC80
analogous
#8097DC #9780DC #C580DC
triadic
#9780DC #DC9780 #80DC97
tetradic
#9780DC #DC8097 #C5DC80 #80DCC5
square
#9780DC #DC8097 #C5DC80 #80DCC5
split-complementary
#9780DC #DCC580 #97DC80
monochromatic
#5131B1 #7050CF #9780DC #BEB0E9 #E6E0F6

Accessibility & contrast

On white

3.26
#9780DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9780DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780DC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780DC#FFFFFF#000000##000000
##9780DC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#648FDF
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#8791A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9780dc;
/* rgb */ color: rgb(151, 128, 220);
/* oklch */ color: oklch(65.9% 0.135 293.9);
Tailwind
colors: {
  custom: {
    50: '#b8a5e7',
    500: '#9780dc',
    950: '#000000',
  },
}
SCSS
$custom: #9780dc;
$custom-light: #b8a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9780dc",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 255,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.13497,
    "h": 293.9
  },
  "luminance": 0.27185
}

Semantic roles & 50–950 ramp

primary
#9780DC
secondary
#E3EACE
accent
#C4219C
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9780DC

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

Preview Lab → · Contrast checker → · Palette generator →

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