#9780FC#9780FC

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

Color values

HEX#9780FC
RGBrgb(151, 128, 252)
HSLhsl(251, 95%, 75%)
HSVhsv(251, 49%, 99%)
CMYKcmyk(40.1%, 49.2%, 0%, 1.2%)
CIE-LABlab(60.82, 37.37, -59.11)
CIE-LCHlch(60.82, 69.94, 302.30°)
OKLaboklab(67.74% 0.0587 -0.1675)
OKLCHoklch(67.74% 0.178 289.3)
XYZxyz(38.0475, 29.0447, 95.6781)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FC #E5FC80
analogous
#80A7FC #9780FC #D580FC
triadic
#9780FC #FC9780 #80FC97
tetradic
#9780FC #FC80A7 #E5FC80 #80FCD5
square
#9780FC #FC80A7 #E5FC80 #80FCD5
split-complementary
#9780FC #FCD580 #A7FC80
monochromatic
#3508F9 #6644FB #9780FC #C8BCFD #E7E1FE

Accessibility & contrast

On white

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

On black

6.81
#9780FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FC#FFFFFF#000000##000000
##9780FC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#7B99B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9780fc;
/* rgb */ color: rgb(151, 128, 252);
/* oklch */ color: oklch(67.7% 0.178 289.3);
Tailwind
colors: {
  custom: {
    50: '#baa5fe',
    500: '#9780fc',
    950: '#000000',
  },
}
SCSS
$custom: #9780fc;
$custom-light: #baa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9780fc",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 251.129,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67739,
    "c": 0.17751,
    "h": 289.3
  },
  "luminance": 0.29046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9780FC

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

Preview Lab → · Contrast checker → · Palette generator →

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