#9782DF#9782DF

#9782DF is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.5% C 0.136 H 292.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9782DF
RGBrgb(151, 130, 223)
HSLhsl(254, 59%, 69%)
HSVhsv(254, 42%, 87%)
CMYKcmyk(32.3%, 41.7%, 0%, 12.5%)
CIE-LABlab(59.77, 28.54, -44.71)
CIE-LCHlch(59.77, 53.04, 302.55°)
OKLaboklab(66.46% 0.0525 -0.1254)
OKLCHoklch(66.46% 0.136 292.7)
XYZxyz(34.0610, 27.8716, 73.3830)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782DF #CADF82
analogous
#829CDF #9782DF #C682DF
triadic
#9782DF #DF9782 #82DF97
tetradic
#9782DF #DF829C #CADF82 #82DFC6
square
#9782DF #DF829C #CADF82 #82DFC6
split-complementary
#9782DF #DFC682 #9CDF82
monochromatic
#4E2FB8 #6E51D3 #9782DF #C0B3EB #E8E3F8

Accessibility & contrast

On white

3.19
#9782DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9782DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782DF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782DF#FFFFFF#000000##000000
##9782DF1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#688EDD
Tritanopia (blue-blind)
#8693A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9782df;
/* rgb */ color: rgb(151, 130, 223);
/* oklch */ color: oklch(66.5% 0.136 292.7);
Tailwind
colors: {
  custom: {
    50: '#b8a6e9',
    500: '#9782df',
    950: '#000000',
  },
}
SCSS
$custom: #9782df;
$custom-light: #b8a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9782df",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 253.548,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.13595,
    "h": 292.7
  },
  "luminance": 0.27872
}

Semantic roles & 50–950 ramp

primary
#9782DF
secondary
#E6ECD1
accent
#C71FA1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9782DF

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

Preview Lab → · Contrast checker → · Palette generator →

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