#9782DA#9782DA

#9782DA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.2% C 0.129 H 293.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9782DA
RGBrgb(151, 130, 218)
HSLhsl(254, 54%, 68%)
HSVhsv(254, 40%, 85%)
CMYKcmyk(30.7%, 40.4%, 0%, 14.5%)
CIE-LABlab(59.53, 27.26, -42.29)
CIE-LCHlch(59.53, 50.32, 302.80°)
OKLaboklab(66.19% 0.0516 -0.1184)
OKLCHoklch(66.19% 0.129 293.5)
XYZxyz(33.3968, 27.6060, 69.8850)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782DA #C5DA82
analogous
#8299DA #9782DA #C382DA
triadic
#9782DA #DA9782 #82DA97
tetradic
#9782DA #DA8299 #C5DA82 #82DAC3
square
#9782DA #DA8299 #C5DA82 #82DAC3
split-complementary
#9782DA #DAC382 #99DA82
monochromatic
#5134AE #7053CC #9782DA #BEB1E8 #E6E0F6

Accessibility & contrast

On white

3.22
#9782DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#9782DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782DA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782DA#FFFFFF#000000##000000
##9782DA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6890DD
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#8892A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9782da;
/* rgb */ color: rgb(151, 130, 218);
/* oklch */ color: oklch(66.2% 0.129 293.5);
Tailwind
colors: {
  custom: {
    50: '#b8a6e6',
    500: '#9782da',
    950: '#000000',
  },
}
SCSS
$custom: #9782da;
$custom-light: #b8a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9782da",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 218
  },
  "hsl": {
    "h": 254.318,
    "s": 54.321,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.12914,
    "h": 293.5
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#9782DA
secondary
#E3E9CF
accent
#C2249C
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #9782DA

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

Preview Lab → · Contrast checker → · Palette generator →

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