#9782F7#9782F7

#9782F7 is a light, vivid violet. Relative luminance 0.293; OKLCH L 67.8% C 0.168 H 289.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9782F7
RGBrgb(151, 130, 247)
HSLhsl(251, 88%, 74%)
HSVhsv(251, 47%, 97%)
CMYKcmyk(38.9%, 47.4%, 0%, 3.1%)
CIE-LABlab(61.01, 34.88, -56.06)
CIE-LCHlch(61.01, 66.02, 301.89°)
OKLaboklab(67.79% 0.0558 -0.1586)
OKLCHoklch(67.79% 0.168 289.4)
XYZxyz(37.5290, 29.2588, 91.6478)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F7 #E2F782
analogous
#82A8F7 #9782F7 #D282F7
triadic
#9782F7 #F79782 #82F797
tetradic
#9782F7 #F782A8 #E2F782 #82F7D2
square
#9782F7 #F782A8 #E2F782 #82F7D2
split-complementary
#9782F7 #F7D282 #A8F782
monochromatic
#380FEF #6748F3 #9782F7 #C7BCFB #E7E2FD

Accessibility & contrast

On white

3.06
#9782F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9782F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F7#FFFFFF#000000##000000
##9782F71.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#7D99B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9782f7;
/* rgb */ color: rgb(151, 130, 247);
/* oklch */ color: oklch(67.8% 0.168 289.4);
Tailwind
colors: {
  custom: {
    50: '#baa6fa',
    500: '#9782f7',
    950: '#000000',
  },
}
SCSS
$custom: #9782f7;
$custom-light: #baa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f7",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 250.769,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67791,
    "c": 0.1681,
    "h": 289.4
  },
  "luminance": 0.2926
}

Semantic roles & 50–950 ramp

primary
#9782F7
secondary
#F0F5D6
accent
#E501BC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782F7

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

Preview Lab → · Contrast checker → · Palette generator →

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