#9780FF#9780FF

#9780FF is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.181 H 289.0°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9780FF
RGBrgb(151, 128, 255)
HSLhsl(251, 100%, 75%)
HSVhsv(251, 50%, 100%)
CMYKcmyk(40.8%, 49.8%, 0%, 0%)
CIE-LABlab(60.99, 38.18, -60.49)
CIE-LCHlch(60.99, 71.54, 302.26°)
OKLaboklab(67.92% 0.059 -0.1716)
OKLCHoklch(67.92% 0.181 289)
XYZxyz(38.5266, 29.2364, 98.2016)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FF #E8FF80
analogous
#80A9FF #9780FF #D680FF
triadic
#9780FF #FF9780 #80FF97
tetradic
#9780FF #FF80A9 #E8FF80 #80FFD6
square
#9780FF #FF80A9 #E8FF80 #80FFD6
split-complementary
#9780FF #FFD680 #A9FF80
monochromatic
#3306FF #6543FF #9780FF #C9BDFF #E6E0FF

Accessibility & contrast

On white

3.07
#9780FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9780FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FF#FFFFFF#000000##000000
##9780FF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#4C90FC
Tritanopia (blue-blind)
#7A9AB4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9780ff;
/* rgb */ color: rgb(151, 128, 255);
/* oklch */ color: oklch(67.9% 0.181 289.0);
Tailwind
colors: {
  custom: {
    50: '#baa5ff',
    500: '#9780ff',
    950: '#000000',
  },
}
SCSS
$custom: #9780ff;
$custom-light: #baa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9780ff",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 255
  },
  "hsl": {
    "h": 250.866,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67919,
    "c": 0.18141,
    "h": 289
  },
  "luminance": 0.29238
}

Semantic roles & 50–950 ramp

primary
#9780FF
secondary
#F1F7D4
accent
#E600BC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9780FF

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

Preview Lab → · Contrast checker → · Palette generator →

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