#9766E7#9766E7

#9766E7 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.2% C 0.188 H 298.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9766E7
RGBrgb(151, 102, 231)
HSLhsl(263, 73%, 65%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.6%, 55.8%, 0%, 9.4%)
CIE-LABlab(53.87, 46.44, -58.58)
CIE-LCHlch(53.87, 74.76, 308.40°)
OKLaboklab(62.19% 0.0892 -0.166)
OKLCHoklch(62.19% 0.188 298.3)
XYZxyz(31.9341, 21.8512, 78.1211)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766E7 #B6E766
analogous
#6675E7 #9766E7 #D866E7
triadic
#9766E7 #E79766 #66E797
tetradic
#9766E7 #E76675 #B6E766 #66E7D8
square
#9766E7 #E76675 #B6E766 #66E7D8
split-complementary
#9766E7 #E7D866 #75E766
monochromatic
#571DB6 #7331DF #9766E7 #BB9BEF #DFD0F8

Accessibility & contrast

On white

3.91
#9766E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9766E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766E7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766E7#FFFFFF#000000##000000
##9766E71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#3C7FE4
Tritanopia (blue-blind)
#85809D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9766e7;
/* rgb */ color: rgb(151, 102, 231);
/* oklch */ color: oklch(62.2% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba93ef',
    500: '#9766e7',
    950: '#000000',
  },
}
SCSS
$custom: #9766e7;
$custom-light: #ba93ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9766e7",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 262.791,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62185,
    "c": 0.18846,
    "h": 298.3
  },
  "luminance": 0.21852
}

Semantic roles & 50–950 ramp

primary
#9766E7
secondary
#DAEABF
accent
#D5118A
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766E7

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

Preview Lab → · Contrast checker → · Palette generator →

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