#9782D8#9782D8

#9782D8 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.1% C 0.126 H 293.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9782D8
RGBrgb(151, 130, 216)
HSLhsl(255, 52%, 68%)
HSVhsv(255, 40%, 85%)
CMYKcmyk(30.1%, 39.8%, 0%, 15.3%)
CIE-LABlab(59.44, 26.75, -41.32)
CIE-LCHlch(59.44, 49.23, 302.92°)
OKLaboklab(66.09% 0.0512 -0.1156)
OKLCHoklch(66.09% 0.126 293.9)
XYZxyz(33.1367, 27.5019, 68.5150)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782D8 #C3D882
analogous
#8298D8 #9782D8 #C282D8
triadic
#9782D8 #D89782 #82D897
tetradic
#9782D8 #D88298 #C3D882 #82D8C2
square
#9782D8 #D88298 #C3D882 #82D8C2
split-complementary
#9782D8 #D8C282 #98D882
monochromatic
#5235AA #7053C9 #9782D8 #BEB1E7 #E5DFF5

Accessibility & contrast

On white

3.23
#9782D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9782D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782D8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782D8#FFFFFF#000000##000000
##9782D81.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6990DB
Deuteranopia (green-blind)
#6C8ED6
Tritanopia (blue-blind)
#8991A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9782d8;
/* rgb */ color: rgb(151, 130, 216);
/* oklch */ color: oklch(66.1% 0.126 293.9);
Tailwind
colors: {
  custom: {
    50: '#b7a6e4',
    500: '#9782d8',
    950: '#000000',
  },
}
SCSS
$custom: #9782d8;
$custom-light: #b7a6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9782d8",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 216
  },
  "hsl": {
    "h": 254.651,
    "s": 52.439,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6609,
    "c": 0.12641,
    "h": 293.9
  },
  "luminance": 0.27502
}

Semantic roles & 50–950 ramp

primary
#9782D8
secondary
#E2E8CE
accent
#C0269A
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F15
muted
#807F84

Preview Lab

Preview with #9782D8

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

Preview Lab → · Contrast checker → · Palette generator →

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