#9782F9#9782F9

#9782F9 is a light, vivid violet. Relative luminance 0.294; OKLCH L 67.9% C 0.171 H 289.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9782F9
RGBrgb(151, 130, 249)
HSLhsl(251, 91%, 74%)
HSVhsv(251, 48%, 98%)
CMYKcmyk(39.4%, 47.8%, 0%, 2.4%)
CIE-LABlab(61.12, 35.42, -56.99)
CIE-LCHlch(61.12, 67.10, 301.86°)
OKLaboklab(67.91% 0.056 -0.1613)
OKLCHoklch(67.91% 0.171 289.1)
XYZxyz(37.8393, 29.3829, 93.2820)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F9 #E4F982
analogous
#82A9F9 #9782F9 #D382F9
triadic
#9782F9 #F99782 #82F997
tetradic
#9782F9 #F982A9 #E4F982 #82F9D3
square
#9782F9 #F982A9 #E4F982 #82F9D3
split-complementary
#9782F9 #F9D382 #A9F982
monochromatic
#360DF3 #6648F6 #9782F9 #C8BCFC #E7E2FE

Accessibility & contrast

On white

3.05
#9782F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#9782F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F9#FFFFFF#000000##000000
##9782F91.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5496FD
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#7C9AB2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9782f9;
/* rgb */ color: rgb(151, 130, 249);
/* oklch */ color: oklch(67.9% 0.171 289.1);
Tailwind
colors: {
  custom: {
    50: '#baa6fc',
    500: '#9782f9',
    950: '#000000',
  },
}
SCSS
$custom: #9782f9;
$custom-light: #baa6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f9",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 250.588,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67908,
    "c": 0.17074,
    "h": 289.1
  },
  "luminance": 0.29384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782F9

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

Preview Lab → · Contrast checker → · Palette generator →

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