#9782BF#9782BF

#9782BF is a light, moderate violet. Relative luminance 0.263; OKLCH L 64.9% C 0.092 H 299.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9782BF
RGBrgb(151, 130, 191)
HSLhsl(261, 32%, 63%)
HSVhsv(261, 32%, 75%)
CMYKcmyk(20.9%, 31.9%, 0%, 25.1%)
CIE-LABlab(58.33, 20.62, -28.95)
CIE-LCHlch(58.33, 35.54, 305.46°)
OKLaboklab(64.88% 0.0455 -0.0799)
OKLCHoklch(64.88% 0.092 299.7)
XYZxyz(30.1471, 26.3060, 52.7694)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9782BF #AABF82
analogous
#828BBF #9782BF #B582BF
triadic
#9782BF #BF9782 #82BF97
tetradic
#9782BF #BF828B #AABF82 #82BFB5
square
#9782BF #BF828B #AABF82 #82BFB5
split-complementary
#9782BF #BFB582 #8BBF82
monochromatic
#594383 #755AAA #9782BF #B9AAD4 #DAD3E8

Accessibility & contrast

On white

3.35
#9782BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9782BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9782BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9782BF#FFFFFF#000000##000000
##9782BF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC1
Deuteranopia (green-blind)
#788CBD
Tritanopia (blue-blind)
#908C98
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9782bf;
/* rgb */ color: rgb(151, 130, 191);
/* oklch */ color: oklch(64.9% 0.092 299.7);
Tailwind
colors: {
  custom: {
    50: '#b6a6d2',
    500: '#9782bf',
    950: '#000000',
  },
}
SCSS
$custom: #9782bf;
$custom-light: #b6a6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9782bf",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 260.656,
    "s": 32.275,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6488,
    "c": 0.09198,
    "h": 299.7
  },
  "luminance": 0.26306
}

Semantic roles & 50–950 ramp

primary
#9782BF
secondary
#D2D9C3
accent
#AB3A84
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #9782BF

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

Preview Lab → · Contrast checker → · Palette generator →

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