#9766E0#9766E0

#9766E0 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.7% C 0.180 H 299.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9766E0
RGBrgb(151, 102, 224)
HSLhsl(264, 66%, 64%)
HSVhsv(264, 54%, 88%)
CMYKcmyk(32.6%, 54.5%, 0%, 12.2%)
CIE-LABlab(53.45, 44.68, -55.31)
CIE-LCHlch(53.45, 71.10, 308.93°)
OKLaboklab(61.75% 0.0891 -0.1564)
OKLCHoklch(61.75% 0.18 299.7)
XYZxyz(30.9652, 21.4636, 73.0181)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766E0 #AFE066
analogous
#6672E0 #9766E0 #D466E0
triadic
#9766E0 #E09766 #66E097
tetradic
#9766E0 #E06672 #AFE066 #66E0D4
square
#9766E0 #E06672 #AFE066 #66E0D4
split-complementary
#9766E0 #E0D466 #72E066
monochromatic
#5922A9 #7433D6 #9766E0 #BA99EA #DCCCF5

Accessibility & contrast

On white

3.97
#9766E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9766E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766E0
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766E0#FFFFFF#000000##000000
##9766E01.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE4
Deuteranopia (green-blind)
#447FDD
Tritanopia (blue-blind)
#887E99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9766e0;
/* rgb */ color: rgb(151, 102, 224);
/* oklch */ color: oklch(61.7% 0.180 299.7);
Tailwind
colors: {
  custom: {
    50: '#b993ea',
    500: '#9766e0',
    950: '#000000',
  },
}
SCSS
$custom: #9766e0;
$custom-light: #b993ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9766e0",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 224
  },
  "hsl": {
    "h": 264.098,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61746,
    "c": 0.17998,
    "h": 299.7
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#9766E0
secondary
#D5E6BC
accent
#CE1785
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766E0

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

Preview Lab → · Contrast checker → · Palette generator →

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