#9766DB#9766DB

#9766DB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.4% C 0.174 H 300.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9766DB
RGBrgb(151, 102, 219)
HSLhsl(265, 62%, 63%)
HSVhsv(265, 53%, 86%)
CMYKcmyk(31.1%, 53.4%, 0%, 14.1%)
CIE-LABlab(53.16, 43.43, -52.95)
CIE-LCHlch(53.16, 68.49, 309.36°)
OKLaboklab(61.44% 0.0889 -0.1495)
OKLCHoklch(61.44% 0.174 300.7)
XYZxyz(30.2971, 21.1964, 69.4992)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766DB #AADB66
analogous
#666FDB #9766DB #D166DB
triadic
#9766DB #DB9766 #66DB97
tetradic
#9766DB #DB666F #AADB66 #66DBD1
square
#9766DB #DB666F #AADB66 #66DBD1
split-complementary
#9766DB #DBD166 #6FDB66
monochromatic
#5926A1 #7534CF #9766DB #B998E7 #DAC9F2

Accessibility & contrast

On white

4.01
#9766DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9766DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766DB#FFFFFF#000000##000000
##9766DB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7EDF
Deuteranopia (green-blind)
#497ED8
Tritanopia (blue-blind)
#897D97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9766db;
/* rgb */ color: rgb(151, 102, 219);
/* oklch */ color: oklch(61.4% 0.174 300.7);
Tailwind
colors: {
  custom: {
    50: '#b993e7',
    500: '#9766db',
    950: '#000000',
  },
}
SCSS
$custom: #9766db;
$custom-light: #b993e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9766db",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 265.128,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.17389,
    "h": 300.7
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#9766DB
secondary
#D2E3B9
accent
#CA1C81
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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