#9780FA#9780FA

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

Color values

HEX#9780FA
RGBrgb(151, 128, 250)
HSLhsl(251, 92%, 74%)
HSVhsv(251, 49%, 98%)
CMYKcmyk(39.6%, 48.8%, 0%, 2%)
CIE-LABlab(60.71, 36.83, -58.19)
CIE-LCHlch(60.71, 68.87, 302.33°)
OKLaboklab(67.62% 0.0585 -0.1648)
OKLCHoklch(67.62% 0.175 289.6)
XYZxyz(37.7322, 28.9186, 94.0177)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780FA #E3FA80
analogous
#80A6FA #9780FA #D480FA
triadic
#9780FA #FA9780 #80FA97
tetradic
#9780FA #FA80A6 #E3FA80 #80FAD4
square
#9780FA #FA80A6 #E3FA80 #80FAD4
split-complementary
#9780FA #FAD480 #A6FA80
monochromatic
#370AF5 #6745F8 #9780FA #C7BBFC #E7E2FE

Accessibility & contrast

On white

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

On black

6.78
#9780FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780FA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780FA#FFFFFF#000000##000000
##9780FA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#7C99B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9780fa;
/* rgb */ color: rgb(151, 128, 250);
/* oklch */ color: oklch(67.6% 0.175 289.6);
Tailwind
colors: {
  custom: {
    50: '#baa5fc',
    500: '#9780fa',
    950: '#000000',
  },
}
SCSS
$custom: #9780fa;
$custom-light: #baa5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9780fa",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 251.311,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.1749,
    "h": 289.6
  },
  "luminance": 0.2892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9780FA

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

Preview Lab → · Contrast checker → · Palette generator →

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