#9782F5#9782F5

#9782F5 is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.7% C 0.165 H 289.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9782F5
RGBrgb(151, 130, 245)
HSLhsl(251, 85%, 74%)
HSVhsv(251, 47%, 96%)
CMYKcmyk(38.4%, 46.9%, 0%, 3.9%)
CIE-LABlab(60.90, 34.34, -55.13)
CIE-LCHlch(60.90, 64.95, 301.92°)
OKLaboklab(67.68% 0.0556 -0.1558)
OKLCHoklch(67.68% 0.165 289.6)
XYZxyz(37.2221, 29.1361, 90.0312)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782F5 #E0F582
analogous
#82A6F5 #9782F5 #D182F5
triadic
#9782F5 #F59782 #82F597
tetradic
#9782F5 #F582A6 #E0F582 #82F5D1
square
#9782F5 #F582A6 #E0F582 #82F5D1
split-complementary
#9782F5 #F5D182 #A6F582
monochromatic
#3A13EA #6849F0 #9782F5 #C6BBFA #E7E3FD

Accessibility & contrast

On white

3.08
#9782F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#9782F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782F5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782F5#FFFFFF#000000##000000
##9782F51.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5795F9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#7E99B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9782f5;
/* rgb */ color: rgb(151, 130, 245);
/* oklch */ color: oklch(67.7% 0.165 289.6);
Tailwind
colors: {
  custom: {
    50: '#baa6f9',
    500: '#9782f5',
    950: '#000000',
  },
}
SCSS
$custom: #9782f5;
$custom-light: #baa6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9782f5",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 250.957,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.16545,
    "h": 289.6
  },
  "luminance": 0.29137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782F5

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

Preview Lab → · Contrast checker → · Palette generator →

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