#9782F6#9782F6

#9782F6 is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.7% C 0.167 H 289.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9782F6
RGBrgb(151, 130, 246)
HSLhsl(251, 87%, 74%)
HSVhsv(251, 47%, 96%)
CMYKcmyk(38.6%, 47.2%, 0%, 3.5%)
CIE-LABlab(60.96, 34.61, -55.60)
CIE-LCHlch(60.96, 65.49, 301.90°)
OKLaboklab(67.73% 0.0557 -0.1572)
OKLCHoklch(67.73% 0.167 289.5)
XYZxyz(37.3751, 29.1973, 90.8373)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F6 #E1F682
analogous
#82A7F6 #9782F6 #D182F6
triadic
#9782F6 #F69782 #82F697
tetradic
#9782F6 #F682A7 #E1F682 #82F6D1
square
#9782F6 #F682A7 #E1F682 #82F6D1
split-complementary
#9782F6 #F6D182 #A7F682
monochromatic
#3911ED #6749F2 #9782F6 #C6BBFA #E7E2FD

Accessibility & contrast

On white

3.07
#9782F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#9782F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F6
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F6#FFFFFF#000000##000000
##9782F61.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695FA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#7D99B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9782f6;
/* rgb */ color: rgb(151, 130, 246);
/* oklch */ color: oklch(67.7% 0.167 289.5);
Tailwind
colors: {
  custom: {
    50: '#baa6fa',
    500: '#9782f6',
    950: '#000000',
  },
}
SCSS
$custom: #9782f6;
$custom-light: #baa6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f6",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 250.862,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.16678,
    "h": 289.5
  },
  "luminance": 0.29198
}

Semantic roles & 50–950 ramp

primary
#9782F6
secondary
#EFF5D6
accent
#E302BA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9782F6

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

Preview Lab → · Contrast checker → · Palette generator →

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