#9766BE#9766BE

#9766BE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.8% C 0.138 H 308.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9766BE
RGBrgb(151, 102, 190)
HSLhsl(273, 40%, 57%)
HSVhsv(273, 46%, 75%)
CMYKcmyk(20.5%, 46.3%, 0%, 25.5%)
CIE-LABlab(51.61, 36.47, -38.87)
CIE-LCHlch(51.61, 53.30, 313.18°)
OKLaboklab(59.78% 0.086 -0.1084)
OKLCHoklch(59.78% 0.138 308.4)
XYZxyz(26.8063, 19.8001, 51.1148)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766BE #8DBE66
analogous
#6B66BE #9766BE #BE66B9
triadic
#9766BE #BE9766 #66BE97
tetradic
#9766BE #BE6B66 #8DBE66 #66B9BE
square
#9766BE #BE6B66 #8DBE66 #66B9BE
split-complementary
#9766BE #B9BE66 #66BE6B
monochromatic
#593377 #7945A2 #9766BE #B491D0 #D1BCE2

Accessibility & contrast

On white

4.23
#9766BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9766BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766BE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766BE#FFFFFF#000000##000000
##9766BE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#927489
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9766be;
/* rgb */ color: rgb(151, 102, 190);
/* oklch */ color: oklch(59.8% 0.138 308.4);
Tailwind
colors: {
  custom: {
    50: '#b793d2',
    500: '#9766be',
    950: '#000000',
  },
}
SCSS
$custom: #9766be;
$custom-light: #b793d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9766be",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 273.409,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.13839,
    "h": 308.4
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#9766BE
secondary
#BED2AE
accent
#D0588D
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9766BE

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

Preview Lab → · Contrast checker → · Palette generator →

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