#9780FD#9780FD

#9780FD is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.8% C 0.179 H 289.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9780FD
RGBrgb(151, 128, 253)
HSLhsl(251, 97%, 75%)
HSVhsv(251, 49%, 99%)
CMYKcmyk(40.3%, 49.4%, 0%, 0.8%)
CIE-LABlab(60.88, 37.64, -59.57)
CIE-LCHlch(60.88, 70.47, 302.29°)
OKLaboklab(67.8% 0.0588 -0.1689)
OKLCHoklch(67.8% 0.179 289.2)
XYZxyz(38.2064, 29.1083, 96.5149)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FD #E6FD80
analogous
#80A8FD #9780FD #D680FD
triadic
#9780FD #FD9780 #80FD97
tetradic
#9780FD #FD80A8 #E6FD80 #80FDD6
square
#9780FD #FD80A8 #E6FD80 #80FDD6
split-complementary
#9780FD #FDD680 #A8FD80
monochromatic
#3407FB #6644FC #9780FD #C8BCFE #E6E1FF

Accessibility & contrast

On white

3.08
#9780FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9780FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FD
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FD#FFFFFF#000000##000000
##9780FD1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#7B9AB3
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9780fd;
/* rgb */ color: rgb(151, 128, 253);
/* oklch */ color: oklch(67.8% 0.179 289.2);
Tailwind
colors: {
  custom: {
    50: '#baa5ff',
    500: '#9780fd',
    950: '#000000',
  },
}
SCSS
$custom: #9780fd;
$custom-light: #baa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9780fd",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 253
  },
  "hsl": {
    "h": 251.04,
    "s": 96.899,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67799,
    "c": 0.17881,
    "h": 289.2
  },
  "luminance": 0.2911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9780FD

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

Preview Lab → · Contrast checker → · Palette generator →

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