#9780FE#9780FE

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

Color values

HEX#9780FE
RGBrgb(151, 128, 254)
HSLhsl(251, 98%, 75%)
HSVhsv(251, 50%, 100%)
CMYKcmyk(40.6%, 49.6%, 0%, 0.4%)
CIE-LABlab(60.93, 37.91, -60.03)
CIE-LCHlch(60.93, 71.00, 302.27°)
OKLaboklab(67.86% 0.0589 -0.1702)
OKLCHoklch(67.86% 0.18 289.1)
XYZxyz(38.3661, 29.1722, 97.3560)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FE #E7FE80
analogous
#80A8FE #9780FE #D680FE
triadic
#9780FE #FE9780 #80FE97
tetradic
#9780FE #FE80A8 #E7FE80 #80FED6
square
#9780FE #FE80A8 #E7FE80 #80FED6
split-complementary
#9780FE #FED680 #A8FE80
monochromatic
#3407FD #6543FE #9780FE #C9BDFE #E6E1FF

Accessibility & contrast

On white

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

On black

6.83
#9780FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FE#FFFFFF#000000##000000
##9780FE1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9780fe;
/* rgb */ color: rgb(151, 128, 254);
/* oklch */ color: oklch(67.9% 0.180 289.1);
Tailwind
colors: {
  custom: {
    50: '#baa5ff',
    500: '#9780fe',
    950: '#000000',
  },
}
SCSS
$custom: #9780fe;
$custom-light: #baa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9780fe",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 254
  },
  "hsl": {
    "h": 250.952,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.67859,
    "c": 0.18011,
    "h": 289.1
  },
  "luminance": 0.29173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9780FE

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

Preview Lab → · Contrast checker → · Palette generator →

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