#9766E6#9766E6

#9766E6 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.187 H 298.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9766E6
RGBrgb(151, 102, 230)
HSLhsl(263, 72%, 65%)
HSVhsv(263, 56%, 90%)
CMYKcmyk(34.3%, 55.7%, 0%, 9.8%)
CIE-LABlab(53.81, 46.19, -58.12)
CIE-LCHlch(53.81, 74.23, 308.47°)
OKLaboklab(62.12% 0.0892 -0.1646)
OKLCHoklch(62.12% 0.187 298.5)
XYZxyz(31.7933, 21.7949, 77.3794)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766E6 #B5E666
analogous
#6675E6 #9766E6 #D766E6
triadic
#9766E6 #E69766 #66E697
tetradic
#9766E6 #E66675 #B5E666 #66E6D7
square
#9766E6 #E66675 #B5E666 #66E6D7
split-complementary
#9766E6 #E6D766 #75E666
monochromatic
#571DB4 #7331DD #9766E6 #BB9BEF #DFCFF7

Accessibility & contrast

On white

3.92
#9766E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9766E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766E6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766E6#FFFFFF#000000##000000
##9766E61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EA
Deuteranopia (green-blind)
#3E7FE3
Tritanopia (blue-blind)
#86809C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9766e6;
/* rgb */ color: rgb(151, 102, 230);
/* oklch */ color: oklch(62.1% 0.187 298.5);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9766e6',
    950: '#000000',
  },
}
SCSS
$custom: #9766e6;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9766e6",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 262.969,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.18725,
    "h": 298.5
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#9766E6
secondary
#D9EABE
accent
#D4128A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766E6

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

Preview Lab → · Contrast checker → · Palette generator →

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