#9766E9#9766E9

#9766E9 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.3% C 0.191 H 297.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9766E9
RGBrgb(151, 102, 233)
HSLhsl(262, 75%, 66%)
HSVhsv(262, 56%, 91%)
CMYKcmyk(35.2%, 56.2%, 0%, 8.6%)
CIE-LABlab(53.99, 46.94, -59.51)
CIE-LCHlch(53.99, 75.80, 308.27°)
OKLaboklab(62.31% 0.0893 -0.1687)
OKLCHoklch(62.31% 0.191 297.9)
XYZxyz(32.2182, 21.9648, 79.6172)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766E9 #B8E966
analogous
#6676E9 #9766E9 #D966E9
triadic
#9766E9 #E99766 #66E997
tetradic
#9766E9 #E96676 #B8E966 #66E9D9
square
#9766E9 #E96676 #B8E966 #66E9D9
split-complementary
#9766E9 #E9D966 #76E966
monochromatic
#561BBA #7330E1 #9766E9 #BB9CF1 #E0D1F8

Accessibility & contrast

On white

3.89
#9766E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9766E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766E9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766E9#FFFFFF#000000##000000
##9766E91.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#3A80E6
Tritanopia (blue-blind)
#85819E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9766e9;
/* rgb */ color: rgb(151, 102, 233);
/* oklch */ color: oklch(62.3% 0.191 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba93f1',
    500: '#9766e9',
    950: '#000000',
  },
}
SCSS
$custom: #9766e9;
$custom-light: #ba93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9766e9",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 262.443,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62313,
    "c": 0.19088,
    "h": 297.9
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#9766E9
secondary
#DBEBC0
accent
#D70E8C
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766E9

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

Preview Lab → · Contrast checker → · Palette generator →

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