#9766BB#9766BB

#9766BB is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.6% C 0.135 H 309.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9766BB
RGBrgb(151, 102, 187)
HSLhsl(275, 38%, 57%)
HSVhsv(275, 45%, 73%)
CMYKcmyk(19.3%, 45.5%, 0%, 26.7%)
CIE-LABlab(51.46, 35.78, -37.37)
CIE-LCHlch(51.46, 51.74, 313.75°)
OKLaboklab(59.62% 0.0856 -0.104)
OKLCHoklch(59.62% 0.135 309.4)
XYZxyz(26.4818, 19.6703, 49.4058)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766BB #8ABB66
analogous
#6D66BB #9766BB #BB66B5
triadic
#9766BB #BB9766 #66BB97
tetradic
#9766BB #BB6D66 #8ABB66 #66B5BB
square
#9766BB #BB6D66 #8ABB66 #66B5BB
split-complementary
#9766BB #B5BB66 #66BB6D
monochromatic
#583373 #79469E #9766BB #B490CE #D1BBE1

Accessibility & contrast

On white

4.26
#9766BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9766BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766BB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766BB#FFFFFF#000000##000000
##9766BB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#927388
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9766bb;
/* rgb */ color: rgb(151, 102, 187);
/* oklch */ color: oklch(59.6% 0.135 309.4);
Tailwind
colors: {
  custom: {
    50: '#b793d0',
    500: '#9766bb',
    950: '#000000',
  },
}
SCSS
$custom: #9766bb;
$custom-light: #b793d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9766bb",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 274.588,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59621,
    "c": 0.13473,
    "h": 309.4
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9766BB

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

Preview Lab → · Contrast checker → · Palette generator →

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