#9780D9#9780D9

#9780D9 is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.8% C 0.131 H 294.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9780D9
RGBrgb(151, 128, 217)
HSLhsl(256, 54%, 68%)
HSVhsv(256, 41%, 85%)
CMYKcmyk(30.4%, 41%, 0%, 14.9%)
CIE-LABlab(59.00, 28.16, -42.57)
CIE-LCHlch(59.00, 51.04, 303.48°)
OKLaboklab(65.77% 0.0541 -0.1192)
OKLCHoklch(65.77% 0.131 294.4)
XYZxyz(33.0029, 27.0269, 69.1101)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780D9 #C2D980
analogous
#8095D9 #9780D9 #C480D9
triadic
#9780D9 #D99780 #80D997
tetradic
#9780D9 #D98095 #C2D980 #80D9C4
square
#9780D9 #D98095 #C2D980 #80D9C4
split-complementary
#9780D9 #D9C480 #95D980
monochromatic
#5233AB #7051CB #9780D9 #BEAFE7 #E4DEF5

Accessibility & contrast

On white

3.28
#9780D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9780D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780D9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780D9#FFFFFF#000000##000000
##9780D91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668FDC
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#8890A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9780d9;
/* rgb */ color: rgb(151, 128, 217);
/* oklch */ color: oklch(65.8% 0.131 294.4);
Tailwind
colors: {
  custom: {
    50: '#b8a5e5',
    500: '#9780d9',
    950: '#000000',
  },
}
SCSS
$custom: #9780d9;
$custom-light: #b8a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9780d9",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 255.506,
    "s": 53.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65775,
    "c": 0.1309,
    "h": 294.4
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#9780D9
secondary
#E1E8CD
accent
#C12499
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #9780D9

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

Preview Lab → · Contrast checker → · Palette generator →

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