#9782F8#9782F8

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

Color values

HEX#9782F8
RGBrgb(151, 130, 248)
HSLhsl(251, 89%, 74%)
HSVhsv(251, 48%, 97%)
CMYKcmyk(39.1%, 47.6%, 0%, 2.7%)
CIE-LABlab(61.06, 35.15, -56.53)
CIE-LCHlch(61.06, 66.56, 301.87°)
OKLaboklab(67.85% 0.0559 -0.1599)
OKLCHoklch(67.85% 0.169 289.3)
XYZxyz(37.6838, 29.3207, 92.4627)
Luminance0.2932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F8 #E3F882
analogous
#82A8F8 #9782F8 #D282F8
triadic
#9782F8 #F89782 #82F897
tetradic
#9782F8 #F882A8 #E3F882 #82F8D2
square
#9782F8 #F882A8 #E3F882 #82F8D2
split-complementary
#9782F8 #F8D282 #A8F882
monochromatic
#370EF2 #6748F5 #9782F8 #C7BCFB #E7E2FD

Accessibility & contrast

On white

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

On black

6.86
#9782F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F8#FFFFFF#000000##000000
##9782F81.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#5591F5
Tritanopia (blue-blind)
#7D9AB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9782f8;
/* rgb */ color: rgb(151, 130, 248);
/* oklch */ color: oklch(67.8% 0.169 289.3);
Tailwind
colors: {
  custom: {
    50: '#baa6fb',
    500: '#9782f8',
    950: '#000000',
  },
}
SCSS
$custom: #9782f8;
$custom-light: #baa6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f8",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 250.678,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.16941,
    "h": 289.3
  },
  "luminance": 0.29322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782F8

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

Preview Lab → · Contrast checker → · Palette generator →

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