#9766E8#9766E8

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

Color values

HEX#9766E8
RGBrgb(151, 102, 232)
HSLhsl(263, 74%, 65%)
HSVhsv(263, 56%, 91%)
CMYKcmyk(34.9%, 56%, 0%, 9%)
CIE-LABlab(53.93, 46.69, -59.05)
CIE-LCHlch(53.93, 75.28, 308.33°)
OKLaboklab(62.25% 0.0893 -0.1674)
OKLCHoklch(62.25% 0.19 298.1)
XYZxyz(32.0757, 21.9079, 78.8670)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766E8 #B7E866
analogous
#6676E8 #9766E8 #D866E8
triadic
#9766E8 #E89766 #66E897
tetradic
#9766E8 #E86676 #B7E866 #66E8D8
square
#9766E8 #E86676 #B7E866 #66E8D8
split-complementary
#9766E8 #E8D866 #76E866
monochromatic
#571CB8 #7331E0 #9766E8 #BB9BF0 #DFD0F8

Accessibility & contrast

On white

3.90
#9766E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#9766E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766E8
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766E8#FFFFFF#000000##000000
##9766E81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#3B80E5
Tritanopia (blue-blind)
#85819D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9766e8;
/* rgb */ color: rgb(151, 102, 232);
/* oklch */ color: oklch(62.2% 0.190 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba93f0',
    500: '#9766e8',
    950: '#000000',
  },
}
SCSS
$custom: #9766e8;
$custom-light: #ba93f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9766e8",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 262.615,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.18967,
    "h": 298.1
  },
  "luminance": 0.21908
}

Semantic roles & 50–950 ramp

primary
#9766E8
secondary
#DAEBBF
accent
#D6108B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766E8

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

Preview Lab → · Contrast checker → · Palette generator →

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