#9782BD#9782BD

#9782BD is a light, moderate violet. Relative luminance 0.262; OKLCH L 64.8% C 0.089 H 300.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9782BD
RGBrgb(151, 130, 189)
HSLhsl(261, 31%, 63%)
HSVhsv(261, 31%, 74%)
CMYKcmyk(20.1%, 31.2%, 0%, 25.9%)
CIE-LABlab(58.24, 20.14, -27.94)
CIE-LCHlch(58.24, 34.45, 305.79°)
OKLaboklab(64.79% 0.045 -0.077)
OKLCHoklch(64.79% 0.089 300.3)
XYZxyz(29.9285, 26.2186, 51.6182)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782BD #A8BD82
analogous
#828ABD #9782BD #B482BD
triadic
#9782BD #BD9782 #82BD97
tetradic
#9782BD #BD828A #A8BD82 #82BDB4
square
#9782BD #BD828A #A8BD82 #82BDB4
split-complementary
#9782BD #BDB482 #8ABD82
monochromatic
#5A4481 #765AA8 #9782BD #B8AAD2 #DAD2E7

Accessibility & contrast

On white

3.36
#9782BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9782BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782BD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782BD#FFFFFF#000000##000000
##9782BD1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CBF
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#908B97
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9782bd;
/* rgb */ color: rgb(151, 130, 189);
/* oklch */ color: oklch(64.8% 0.089 300.3);
Tailwind
colors: {
  custom: {
    50: '#b6a6d1',
    500: '#9782bd',
    950: '#000000',
  },
}
SCSS
$custom: #9782bd;
$custom-light: #b6a6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9782bd",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 189
  },
  "hsl": {
    "h": 261.356,
    "s": 30.89,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.08921,
    "h": 300.3
  },
  "luminance": 0.26219
}

Semantic roles & 50–950 ramp

primary
#9782BD
secondary
#D0D8C3
accent
#AA3C83
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #9782BD

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

Preview Lab → · Contrast checker → · Palette generator →

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