#9780F9#9780F9

#9780F9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.6% C 0.174 H 289.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9780F9
RGBrgb(151, 128, 249)
HSLhsl(251, 91%, 74%)
HSVhsv(251, 49%, 98%)
CMYKcmyk(39.4%, 48.6%, 0%, 2.4%)
CIE-LABlab(60.65, 36.56, -57.73)
CIE-LCHlch(60.65, 68.33, 302.35°)
OKLaboklab(67.56% 0.0584 -0.1635)
OKLCHoklch(67.56% 0.174 289.7)
XYZxyz(37.5759, 28.8561, 93.1941)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780F9 #E2F980
analogous
#80A6F9 #9780F9 #D480F9
triadic
#9780F9 #F99780 #80F997
tetradic
#9780F9 #F980A6 #E2F980 #80F9D4
square
#9780F9 #F980A6 #E2F980 #80F9D4
split-complementary
#9780F9 #F9D480 #A6F980
monochromatic
#380BF3 #6746F6 #9780F9 #C7BAFC #E7E2FE

Accessibility & contrast

On white

3.10
#9780F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9780F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780F9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780F9#FFFFFF#000000##000000
##9780F91.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#528FF6
Tritanopia (blue-blind)
#7C99B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9780f9;
/* rgb */ color: rgb(151, 128, 249);
/* oklch */ color: oklch(67.6% 0.174 289.7);
Tailwind
colors: {
  custom: {
    50: '#baa5fc',
    500: '#9780f9',
    950: '#000000',
  },
}
SCSS
$custom: #9780f9;
$custom-light: #baa5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9780f9",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 249
  },
  "hsl": {
    "h": 251.405,
    "s": 90.977,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6756,
    "c": 0.17359,
    "h": 289.7
  },
  "luminance": 0.28857
}

Semantic roles & 50–950 ramp

primary
#9780F9
secondary
#F0F6D5
accent
#E600BA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780F9

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

Preview Lab → · Contrast checker → · Palette generator →

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