#9782FB#9782FB

#9782FB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.0% C 0.173 H 288.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9782FB
RGBrgb(151, 130, 251)
HSLhsl(250, 94%, 75%)
HSVhsv(250, 48%, 98%)
CMYKcmyk(39.8%, 48.2%, 0%, 1.6%)
CIE-LABlab(61.23, 35.96, -57.91)
CIE-LCHlch(61.23, 68.17, 301.83°)
OKLaboklab(68.03% 0.0562 -0.164)
OKLCHoklch(68.03% 0.173 288.9)
XYZxyz(38.1529, 29.5084, 94.9336)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782FB #E6FB82
analogous
#82AAFB #9782FB #D382FB
triadic
#9782FB #FB9782 #82FB97
tetradic
#9782FB #FB82AA #E6FB82 #82FBD3
square
#9782FB #FB82AA #E6FB82 #82FBD3
split-complementary
#9782FB #FBD382 #AAFB82
monochromatic
#340BF7 #6647F9 #9782FB #C8BDFD #E6E1FE

Accessibility & contrast

On white

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

On black

6.90
#9782FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782FB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782FB#FFFFFF#000000##000000
##9782FB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FF
Deuteranopia (green-blind)
#5391F8
Tritanopia (blue-blind)
#7B9BB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9782fb;
/* rgb */ color: rgb(151, 130, 251);
/* oklch */ color: oklch(68.0% 0.173 288.9);
Tailwind
colors: {
  custom: {
    50: '#baa6fd',
    500: '#9782fb',
    950: '#000000',
  },
}
SCSS
$custom: #9782fb;
$custom-light: #baa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9782fb",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 250.413,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68026,
    "c": 0.17336,
    "h": 288.9
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9782FB

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

Preview Lab → · Contrast checker → · Palette generator →

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