#9766DD#9766DD

#9766DD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.176 H 300.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9766DD
RGBrgb(151, 102, 221)
HSLhsl(265, 64%, 63%)
HSVhsv(265, 54%, 87%)
CMYKcmyk(31.7%, 53.8%, 0%, 13.3%)
CIE-LABlab(53.28, 43.93, -53.90)
CIE-LCHlch(53.28, 69.53, 309.18°)
OKLaboklab(61.56% 0.089 -0.1523)
OKLCHoklch(61.56% 0.176 300.3)
XYZxyz(30.5619, 21.3023, 70.8942)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766DD #ACDD66
analogous
#6670DD #9766DD #D266DD
triadic
#9766DD #DD9766 #66DD97
tetradic
#9766DD #DD6670 #ACDD66 #66DDD2
square
#9766DD #DD6670 #ACDD66 #66DDD2
split-complementary
#9766DD #DDD266 #70DD66
monochromatic
#5924A4 #7534D2 #9766DD #B998E8 #DBCAF3

Accessibility & contrast

On white

3.99
#9766DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9766DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766DD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766DD#FFFFFF#000000##000000
##9766DD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#897D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9766dd;
/* rgb */ color: rgb(151, 102, 221);
/* oklch */ color: oklch(61.6% 0.176 300.3);
Tailwind
colors: {
  custom: {
    50: '#b993e8',
    500: '#9766dd',
    950: '#000000',
  },
}
SCSS
$custom: #9766dd;
$custom-light: #b993e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9766dd",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 264.706,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.17634,
    "h": 300.3
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#9766DD
secondary
#D3E5BA
accent
#CB1A82
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766DD

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

Preview Lab → · Contrast checker → · Palette generator →

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