#9780FB#9780FB

#9780FB is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.7% C 0.176 H 289.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9780FB
RGBrgb(151, 128, 251)
HSLhsl(251, 94%, 74%)
HSVhsv(251, 49%, 98%)
CMYKcmyk(39.8%, 49%, 0%, 1.6%)
CIE-LABlab(60.77, 37.10, -58.65)
CIE-LCHlch(60.77, 69.40, 302.31°)
OKLaboklab(67.68% 0.0586 -0.1662)
OKLCHoklch(67.68% 0.176 289.4)
XYZxyz(37.8895, 28.9815, 94.8457)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FB #E4FB80
analogous
#80A6FB #9780FB #D580FB
triadic
#9780FB #FB9780 #80FB97
tetradic
#9780FB #FB80A6 #E4FB80 #80FBD5
square
#9780FB #FB80A6 #E4FB80 #80FBD5
split-complementary
#9780FB #FBD580 #A6FB80
monochromatic
#3609F7 #6645F9 #9780FB #C8BBFD #E7E1FE

Accessibility & contrast

On white

3.09
#9780FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#9780FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FB#FFFFFF#000000##000000
##9780FB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#7B99B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9780fb;
/* rgb */ color: rgb(151, 128, 251);
/* oklch */ color: oklch(67.7% 0.176 289.4);
Tailwind
colors: {
  custom: {
    50: '#baa5fd',
    500: '#9780fb',
    950: '#000000',
  },
}
SCSS
$custom: #9780fb;
$custom-light: #baa5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9780fb",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 251
  },
  "hsl": {
    "h": 251.22,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.17621,
    "h": 289.4
  },
  "luminance": 0.28983
}

Semantic roles & 50–950 ramp

primary
#9780FB
secondary
#F0F6D5
accent
#E600BB
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9780FB

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

Preview Lab → · Contrast checker → · Palette generator →

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