#9766FB#9766FB

#9766FB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.5% C 0.212 H 294.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9766FB
RGBrgb(151, 102, 251)
HSLhsl(260, 95%, 69%)
HSVhsv(260, 59%, 98%)
CMYKcmyk(39.8%, 59.4%, 0%, 1.6%)
CIE-LABlab(55.12, 51.56, -67.72)
CIE-LCHlch(55.12, 85.12, 307.29°)
OKLaboklab(63.5% 0.089 -0.1928)
OKLCHoklch(63.5% 0.212 294.8)
XYZxyz(34.9219, 23.0463, 93.8565)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766FB #CAFB66
analogous
#6680FB #9766FB #E266FB
triadic
#9766FB #FB9766 #66FB97
tetradic
#9766FB #FB6680 #CAFB66 #66FBE2
square
#9766FB #FB6680 #CAFB66 #66FBE2
split-complementary
#9766FB #FBE266 #80FB66
monochromatic
#4E06E1 #6E2AF9 #9766FB #C0A2FD #E8DDFE

Accessibility & contrast

On white

3.74
#9766FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9766FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766FB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766FB#FFFFFF#000000##000000
##9766FB1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#1682F8
Tritanopia (blue-blind)
#7D87A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9766fb;
/* rgb */ color: rgb(151, 102, 251);
/* oklch */ color: oklch(63.5% 0.212 294.8);
Tailwind
colors: {
  custom: {
    50: '#bb94fd',
    500: '#9766fb',
    950: '#000000',
  },
}
SCSS
$custom: #9766fb;
$custom-light: #bb94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9766fb",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 259.732,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.21238,
    "h": 294.8
  },
  "luminance": 0.23047
}

Semantic roles & 50–950 ramp

primary
#9766FB
secondary
#E6F4C9
accent
#E6009A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9766FB

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

Preview Lab → · Contrast checker → · Palette generator →

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