#9782FC#9782FC

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

Color values

HEX#9782FC
RGBrgb(151, 130, 252)
HSLhsl(250, 95%, 75%)
HSVhsv(250, 48%, 99%)
CMYKcmyk(40.1%, 48.4%, 0%, 1.2%)
CIE-LABlab(61.28, 36.23, -58.38)
CIE-LCHlch(61.28, 68.70, 301.82°)
OKLaboklab(68.08% 0.0563 -0.1654)
OKLCHoklch(68.08% 0.175 288.8)
XYZxyz(38.3109, 29.5716, 95.7659)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782FC #E7FC82
analogous
#82AAFC #9782FC #D482FC
triadic
#9782FC #FC9782 #82FC97
tetradic
#9782FC #FC82AA #E7FC82 #82FCD4
square
#9782FC #FC82AA #E7FC82 #82FCD4
split-complementary
#9782FC #FCD482 #AAFC82
monochromatic
#340AF9 #6546FB #9782FC #C9BEFD #E6E1FE

Accessibility & contrast

On white

3.04
#9782FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9782FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782FC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782FC#FFFFFF#000000##000000
##9782FC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#7B9BB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9782fc;
/* rgb */ color: rgb(151, 130, 252);
/* oklch */ color: oklch(68.1% 0.175 288.8);
Tailwind
colors: {
  custom: {
    50: '#baa6fe',
    500: '#9782fc',
    950: '#000000',
  },
}
SCSS
$custom: #9782fc;
$custom-light: #baa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9782fc",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 250.328,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68085,
    "c": 0.17468,
    "h": 288.8
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782FC

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

Preview Lab → · Contrast checker → · Palette generator →

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