#9780F7#9780F7

#9780F7 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.171 H 289.9°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9780F7
RGBrgb(151, 128, 247)
HSLhsl(252, 88%, 74%)
HSVhsv(252, 48%, 97%)
CMYKcmyk(38.9%, 48.2%, 0%, 3.1%)
CIE-LABlab(60.54, 36.02, -56.80)
CIE-LCHlch(60.54, 67.26, 302.38°)
OKLaboklab(67.44% 0.0583 -0.1607)
OKLCHoklch(67.44% 0.171 289.9)
XYZxyz(37.2656, 28.7320, 91.5600)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780F7 #E0F780
analogous
#80A4F7 #9780F7 #D280F7
triadic
#9780F7 #F79780 #80F797
tetradic
#9780F7 #F780A4 #E0F780 #80F7D2
square
#9780F7 #F780A4 #E0F780 #80F7D2
split-complementary
#9780F7 #F7D280 #A4F780
monochromatic
#3A0FEE #6846F3 #9780F7 #C6BAFB #E7E2FD

Accessibility & contrast

On white

3.11
#9780F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9780F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780F7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780F7#FFFFFF#000000##000000
##9780F71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#7D98B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9780f7;
/* rgb */ color: rgb(151, 128, 247);
/* oklch */ color: oklch(67.4% 0.171 289.9);
Tailwind
colors: {
  custom: {
    50: '#baa5fa',
    500: '#9780f7',
    950: '#000000',
  },
}
SCSS
$custom: #9780f7;
$custom-light: #baa5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9780f7",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 247
  },
  "hsl": {
    "h": 251.597,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67442,
    "c": 0.17098,
    "h": 289.9
  },
  "luminance": 0.28733
}

Semantic roles & 50–950 ramp

primary
#9780F7
secondary
#EFF5D6
accent
#E501B9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780F7

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

Preview Lab → · Contrast checker → · Palette generator →

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