#9766F6#9766F6

#9766F6 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.206 H 295.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9766F6
RGBrgb(151, 102, 246)
HSLhsl(260, 89%, 68%)
HSVhsv(260, 59%, 96%)
CMYKcmyk(38.6%, 58.5%, 0%, 3.5%)
CIE-LABlab(54.80, 50.27, -65.46)
CIE-LCHlch(54.80, 82.54, 307.52°)
OKLaboklab(63.17% 0.0891 -0.1862)
OKLCHoklch(63.17% 0.206 295.6)
XYZxyz(34.1441, 22.7352, 89.7603)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F6 #C5F666
analogous
#667DF6 #9766F6 #DF66F6
triadic
#9766F6 #F69766 #66F697
tetradic
#9766F6 #F6667D #C5F666 #66F6DF
square
#9766F6 #F6667D #C5F666 #66F6DF
split-complementary
#9766F6 #F6DF66 #7DF666
monochromatic
#510DD5 #702CF3 #9766F6 #BEA0F9 #E6DAFD

Accessibility & contrast

On white

3.79
#9766F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9766F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F6#FFFFFF#000000##000000
##9766F61.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#2481F3
Tritanopia (blue-blind)
#7F85A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9766f6;
/* rgb */ color: rgb(151, 102, 246);
/* oklch */ color: oklch(63.2% 0.206 295.6);
Tailwind
colors: {
  custom: {
    50: '#bb93fa',
    500: '#9766f6',
    950: '#000000',
  },
}
SCSS
$custom: #9766f6;
$custom-light: #bb93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f6",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 260.417,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63165,
    "c": 0.20644,
    "h": 295.6
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#9766F6
secondary
#E3F2C6
accent
#E60097
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766F6

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

Preview Lab → · Contrast checker → · Palette generator →

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