#9782FD#9782FD

#9782FD is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.176 H 288.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9782FD
RGBrgb(151, 130, 253)
HSLhsl(250, 97%, 75%)
HSVhsv(250, 49%, 99%)
CMYKcmyk(40.3%, 48.6%, 0%, 0.8%)
CIE-LABlab(61.34, 36.50, -58.84)
CIE-LCHlch(61.34, 69.24, 301.81°)
OKLaboklab(68.14% 0.0564 -0.1667)
OKLCHoklch(68.14% 0.176 288.7)
XYZxyz(38.4698, 29.6352, 96.6027)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782FD #E8FD82
analogous
#82AAFD #9782FD #D582FD
triadic
#9782FD #FD9782 #82FD97
tetradic
#9782FD #FD82AA #E8FD82 #82FDD5
square
#9782FD #FD82AA #E8FD82 #82FDD5
split-complementary
#9782FD #FDD582 #AAFD82
monochromatic
#330AFB #6546FC #9782FD #C9BEFE #E6E1FF

Accessibility & contrast

On white

3.03
#9782FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#9782FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782FD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782FD#FFFFFF#000000##000000
##9782FD1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#7A9BB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9782fd;
/* rgb */ color: rgb(151, 130, 253);
/* oklch */ color: oklch(68.1% 0.176 288.7);
Tailwind
colors: {
  custom: {
    50: '#baa6ff',
    500: '#9782fd',
    950: '#000000',
  },
}
SCSS
$custom: #9782fd;
$custom-light: #baa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9782fd",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 250.244,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68144,
    "c": 0.17599,
    "h": 288.7
  },
  "luminance": 0.29636
}

Semantic roles & 50–950 ramp

primary
#9782FD
secondary
#F1F7D4
accent
#E600BE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9782FD

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

Preview Lab → · Contrast checker → · Palette generator →

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