#9766BC#9766BC

#9766BC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.7% C 0.136 H 309.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9766BC
RGBrgb(151, 102, 188)
HSLhsl(274, 39%, 57%)
HSVhsv(274, 46%, 74%)
CMYKcmyk(19.7%, 45.7%, 0%, 26.3%)
CIE-LABlab(51.51, 36.01, -37.87)
CIE-LCHlch(51.51, 52.26, 313.56°)
OKLaboklab(59.67% 0.0857 -0.1055)
OKLCHoklch(59.67% 0.136 309.1)
XYZxyz(26.5893, 19.7133, 49.9715)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766BC #8BBC66
analogous
#6C66BC #9766BC #BC66B6
triadic
#9766BC #BC9766 #66BC97
tetradic
#9766BC #BC6C66 #8BBC66 #66B6BC
square
#9766BC #BC6C66 #8BBC66 #66B6BC
split-complementary
#9766BC #B6BC66 #66BC6C
monochromatic
#583375 #79469F #9766BC #B491CF #D1BBE1

Accessibility & contrast

On white

4.25
#9766BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9766BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766BC#FFFFFF#000000##000000
##9766BC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#927488
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9766bc;
/* rgb */ color: rgb(151, 102, 188);
/* oklch */ color: oklch(59.7% 0.136 309.1);
Tailwind
colors: {
  custom: {
    50: '#b793d0',
    500: '#9766bc',
    950: '#000000',
  },
}
SCSS
$custom: #9766bc;
$custom-light: #b793d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9766bc",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 274.186,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.13595,
    "h": 309.1
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#9766BC
secondary
#BCD0AD
accent
#CF598C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9766BC

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

Preview Lab → · Contrast checker → · Palette generator →

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