#9780DB#9780DB

#9780DB is a light, vivid violet. Relative luminance 0.271; OKLCH L 65.9% C 0.134 H 294.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9780DB
RGBrgb(151, 128, 219)
HSLhsl(255, 56%, 68%)
HSVhsv(255, 42%, 86%)
CMYKcmyk(31.1%, 41.6%, 0%, 14.1%)
CIE-LABlab(59.10, 28.67, -43.54)
CIE-LCHlch(59.10, 52.13, 303.36°)
OKLaboklab(65.88% 0.0545 -0.122)
OKLCHoklch(65.88% 0.134 294.1)
XYZxyz(33.2647, 27.1316, 70.4884)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780DB #C4DB80
analogous
#8096DB #9780DB #C480DB
triadic
#9780DB #DB9780 #80DB97
tetradic
#9780DB #DB8096 #C4DB80 #80DBC4
square
#9780DB #DB8096 #C4DB80 #80DBC4
split-complementary
#9780DB #DBC480 #96DB80
monochromatic
#5132AF #7050CD #9780DB #BEB0E9 #E5DFF6

Accessibility & contrast

On white

3.27
#9780DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#9780DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780DB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780DB#FFFFFF#000000##000000
##9780DB1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#658FDE
Deuteranopia (green-blind)
#688DD9
Tritanopia (blue-blind)
#8891A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9780db;
/* rgb */ color: rgb(151, 128, 219);
/* oklch */ color: oklch(65.9% 0.134 294.1);
Tailwind
colors: {
  custom: {
    50: '#b8a5e6',
    500: '#9780db',
    950: '#000000',
  },
}
SCSS
$custom: #9780db;
$custom-light: #b8a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9780db",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 255.165,
    "s": 55.828,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.13361,
    "h": 294.1
  },
  "luminance": 0.27132
}

Semantic roles & 50–950 ramp

primary
#9780DB
secondary
#E2E9CD
accent
#C3229B
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9780DB

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

Preview Lab → · Contrast checker → · Palette generator →

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