#9766EE#9766EE

#9766EE is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.197 H 297.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9766EE
RGBrgb(151, 102, 238)
HSLhsl(262, 80%, 67%)
HSVhsv(262, 57%, 93%)
CMYKcmyk(36.6%, 57.1%, 0%, 6.7%)
CIE-LABlab(54.30, 48.22, -61.82)
CIE-LCHlch(54.30, 78.40, 307.95°)
OKLaboklab(62.64% 0.0893 -0.1755)
OKLCHoklch(62.64% 0.197 297)
XYZxyz(32.9426, 22.2546, 83.4323)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766EE #BDEE66
analogous
#6679EE #9766EE #DB66EE
triadic
#9766EE #EE9766 #66EE97
tetradic
#9766EE #EE6679 #BDEE66 #66EEDB
square
#9766EE #EE6679 #BDEE66 #66EEDB
split-complementary
#9766EE #EEDB66 #79EE66
monochromatic
#5416C4 #722FE8 #9766EE #BC9DF4 #E2D4FA

Accessibility & contrast

On white

3.85
#9766EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9766EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766EE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766EE#FFFFFF#000000##000000
##9766EE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F2
Deuteranopia (green-blind)
#3380EB
Tritanopia (blue-blind)
#8383A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9766ee;
/* rgb */ color: rgb(151, 102, 238);
/* oklch */ color: oklch(62.6% 0.197 297.0);
Tailwind
colors: {
  custom: {
    50: '#ba93f4',
    500: '#9766ee',
    950: '#000000',
  },
}
SCSS
$custom: #9766ee;
$custom-light: #ba93f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9766ee",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 261.618,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62636,
    "c": 0.19689,
    "h": 297
  },
  "luminance": 0.22255
}

Semantic roles & 50–950 ramp

primary
#9766EE
secondary
#DEEEC2
accent
#DC0990
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766EE

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

Preview Lab → · Contrast checker → · Palette generator →

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