#9766F9#9766F9

#9766F9 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.4% C 0.210 H 295.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9766F9
RGBrgb(151, 102, 249)
HSLhsl(260, 92%, 69%)
HSVhsv(260, 59%, 98%)
CMYKcmyk(39.4%, 59%, 0%, 2.4%)
CIE-LABlab(54.99, 51.05, -66.82)
CIE-LCHlch(54.99, 84.09, 307.38°)
OKLaboklab(63.37% 0.089 -0.1902)
OKLCHoklch(63.37% 0.21 295.1)
XYZxyz(34.6083, 22.9209, 92.2049)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F9 #C8F966
analogous
#667FF9 #9766F9 #E166F9
triadic
#9766F9 #F99766 #66F997
tetradic
#9766F9 #F9667F #C8F966 #66F9E1
square
#9766F9 #F9667F #C8F966 #66F9E1
split-complementary
#9766F9 #F9E166 #7FF966
monochromatic
#4F09DC #6F2BF7 #9766F9 #BFA1FB #E7DCFE

Accessibility & contrast

On white

3.76
#9766F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#9766F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F9
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F9#FFFFFF#000000##000000
##9766F91.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#1D81F6
Tritanopia (blue-blind)
#7E86A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9766f9;
/* rgb */ color: rgb(151, 102, 249);
/* oklch */ color: oklch(63.4% 0.210 295.1);
Tailwind
colors: {
  custom: {
    50: '#bb93fc',
    500: '#9766f9',
    950: '#000000',
  },
}
SCSS
$custom: #9766f9;
$custom-light: #bb93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f9",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 260,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.21001,
    "h": 295.1
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

primary
#9766F9
secondary
#E5F3C8
accent
#E60099
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9766F9

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

Preview Lab → · Contrast checker → · Palette generator →

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