#9766FF#9766FF

#9766FF is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.8% C 0.217 H 294.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9766FF
RGBrgb(151, 102, 255)
HSLhsl(259, 100%, 70%)
HSVhsv(259, 60%, 100%)
CMYKcmyk(40.8%, 60%, 0%, 0%)
CIE-LABlab(55.38, 52.60, -69.51)
CIE-LCHlch(55.38, 87.17, 307.12°)
OKLaboklab(63.78% 0.0888 -0.1981)
OKLCHoklch(63.78% 0.217 294.1)
XYZxyz(35.5590, 23.3012, 97.2124)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766FF #CEFF66
analogous
#6681FF #9766FF #E466FF
triadic
#9766FF #FF9766 #66FF97
tetradic
#9766FF #FF6681 #CEFF66 #66FFE4
square
#9766FF #FF6681 #CEFF66 #66FFE4
split-complementary
#9766FF #FFE466 #81FF66
monochromatic
#4B00EB #6D29FF #9766FF #C1A3FF #EAE0FF

Accessibility & contrast

On white

3.71
#9766FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9766FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766FF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766FF#FFFFFF#000000##000000
##9766FF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0082FC
Tritanopia (blue-blind)
#7B88A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9766ff;
/* rgb */ color: rgb(151, 102, 255);
/* oklch */ color: oklch(63.8% 0.217 294.1);
Tailwind
colors: {
  custom: {
    50: '#bc94ff',
    500: '#9766ff',
    950: '#000000',
  },
}
SCSS
$custom: #9766ff;
$custom-light: #bc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9766ff",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 259.216,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.63776,
    "c": 0.2171,
    "h": 294.1
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#9766FF
secondary
#E8F6CB
accent
#E6009C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9766FF

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

Preview Lab → · Contrast checker → · Palette generator →

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