#9766FD#9766FD

#9766FD is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.6% C 0.215 H 294.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9766FD
RGBrgb(151, 102, 253)
HSLhsl(259, 97%, 70%)
HSVhsv(259, 60%, 99%)
CMYKcmyk(40.3%, 59.7%, 0%, 0.8%)
CIE-LABlab(55.25, 52.08, -68.62)
CIE-LCHlch(55.25, 86.14, 307.20°)
OKLaboklab(63.64% 0.0889 -0.1955)
OKLCHoklch(63.64% 0.215 294.5)
XYZxyz(35.2388, 23.1731, 95.5257)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766FD #CCFD66
analogous
#6681FD #9766FD #E266FD
triadic
#9766FD #FD9766 #66FD97
tetradic
#9766FD #FD6681 #CCFD66 #66FDE2
square
#9766FD #FD6681 #CCFD66 #66FDE2
split-complementary
#9766FD #FDE266 #81FD66
monochromatic
#4D03E6 #6E2AFC #9766FD #C0A2FE #E9DFFF

Accessibility & contrast

On white

3.73
#9766FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9766FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766FD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766FD#FFFFFF#000000##000000
##9766FD1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0D82FA
Tritanopia (blue-blind)
#7C88A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9766fd;
/* rgb */ color: rgb(151, 102, 253);
/* oklch */ color: oklch(63.6% 0.215 294.5);
Tailwind
colors: {
  custom: {
    50: '#bc94ff',
    500: '#9766fd',
    950: '#000000',
  },
}
SCSS
$custom: #9766fd;
$custom-light: #bc94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9766fd",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 259.47,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63639,
    "c": 0.21474,
    "h": 294.5
  },
  "luminance": 0.23174
}

Semantic roles & 50–950 ramp

primary
#9766FD
secondary
#E7F5CA
accent
#E6009B
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9766FD

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

Preview Lab → · Contrast checker → · Palette generator →

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