#9782FE#9782FE

#9782FE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.177 H 288.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9782FE
RGBrgb(151, 130, 254)
HSLhsl(250, 98%, 75%)
HSVhsv(250, 49%, 100%)
CMYKcmyk(40.6%, 48.8%, 0%, 0.4%)
CIE-LABlab(61.39, 36.77, -59.30)
CIE-LCHlch(61.39, 69.77, 301.80°)
OKLaboklab(68.2% 0.0565 -0.1681)
OKLCHoklch(68.2% 0.177 288.6)
XYZxyz(38.6295, 29.6990, 97.4439)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782FE #E9FE82
analogous
#82ABFE #9782FE #D582FE
triadic
#9782FE #FE9782 #82FE97
tetradic
#9782FE #FE82AB #E9FE82 #82FED5
square
#9782FE #FE82AB #E9FE82 #82FED5
split-complementary
#9782FE #FED582 #ABFE82
monochromatic
#3209FD #6445FE #9782FE #CABFFE #E6E1FF

Accessibility & contrast

On white

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

On black

6.94
#9782FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782FE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782FE#FFFFFF#000000##000000
##9782FE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#7A9BB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9782fe;
/* rgb */ color: rgb(151, 130, 254);
/* oklch */ color: oklch(68.2% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#baa6ff',
    500: '#9782fe',
    950: '#000000',
  },
}
SCSS
$custom: #9782fe;
$custom-light: #baa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9782fe",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 250.161,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68204,
    "c": 0.17729,
    "h": 288.6
  },
  "luminance": 0.297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782FE

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

Preview Lab → · Contrast checker → · Palette generator →

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