#9766BD#9766BD

#9766BD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.7% C 0.137 H 308.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9766BD
RGBrgb(151, 102, 189)
HSLhsl(274, 40%, 57%)
HSVhsv(274, 46%, 74%)
CMYKcmyk(20.1%, 46%, 0%, 25.9%)
CIE-LABlab(51.56, 36.24, -38.37)
CIE-LCHlch(51.56, 52.78, 313.36°)
OKLaboklab(59.73% 0.0859 -0.1069)
OKLCHoklch(59.73% 0.137 308.8)
XYZxyz(26.6974, 19.7565, 50.5412)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766BD #8CBD66
analogous
#6C66BD #9766BD #BD66B8
triadic
#9766BD #BD9766 #66BD97
tetradic
#9766BD #BD6C66 #8CBD66 #66B8BD
square
#9766BD #BD6C66 #8CBD66 #66B8BD
split-complementary
#9766BD #B8BD66 #66BD6C
monochromatic
#593376 #7945A1 #9766BD #B491CF #D1BCE2

Accessibility & contrast

On white

4.24
#9766BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9766BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766BD#FFFFFF#000000##000000
##9766BD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C0
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#927488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9766bd;
/* rgb */ color: rgb(151, 102, 189);
/* oklch */ color: oklch(59.7% 0.137 308.8);
Tailwind
colors: {
  custom: {
    50: '#b793d1',
    500: '#9766bd',
    950: '#000000',
  },
}
SCSS
$custom: #9766bd;
$custom-light: #b793d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9766bd",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 273.793,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.13717,
    "h": 308.8
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#9766BD
secondary
#BDD1AE
accent
#D0588C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9766BD

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

Preview Lab → · Contrast checker → · Palette generator →

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