#9766DA#9766DA

#9766DA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.173 H 300.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9766DA
RGBrgb(151, 102, 218)
HSLhsl(265, 61%, 63%)
HSVhsv(265, 53%, 85%)
CMYKcmyk(30.7%, 53.2%, 0%, 14.5%)
CIE-LABlab(53.11, 43.19, -52.48)
CIE-LCHlch(53.11, 67.96, 309.45°)
OKLaboklab(61.38% 0.0888 -0.1481)
OKLCHoklch(61.38% 0.173 300.9)
XYZxyz(30.1658, 21.1439, 68.8080)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766DA #A9DA66
analogous
#666FDA #9766DA #D166DA
triadic
#9766DA #DA9766 #66DA97
tetradic
#9766DA #DA666F #A9DA66 #66DAD1
square
#9766DA #DA666F #A9DA66 #66DAD1
split-complementary
#9766DA #DAD166 #6FDA66
monochromatic
#59269F #7635CE #9766DA #B897E6 #DAC9F2

Accessibility & contrast

On white

4.02
#9766DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9766DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766DA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766DA#FFFFFF#000000##000000
##9766DA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#8A7C96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9766da;
/* rgb */ color: rgb(151, 102, 218);
/* oklch */ color: oklch(61.4% 0.173 300.9);
Tailwind
colors: {
  custom: {
    50: '#b993e6',
    500: '#9766da',
    950: '#000000',
  },
}
SCSS
$custom: #9766da;
$custom-light: #b993e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9766da",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 265.345,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.17267,
    "h": 300.9
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#9766DA
secondary
#D1E3B9
accent
#C91D80
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766DA

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

Preview Lab → · Contrast checker → · Palette generator →

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