#9766F4#9766F4

#9766F4 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.0% C 0.204 H 295.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9766F4
RGBrgb(151, 102, 244)
HSLhsl(261, 87%, 68%)
HSVhsv(261, 58%, 96%)
CMYKcmyk(38.1%, 58.2%, 0%, 4.3%)
CIE-LABlab(54.67, 49.76, -64.56)
CIE-LCHlch(54.67, 81.51, 307.62°)
OKLaboklab(63.03% 0.0892 -0.1835)
OKLCHoklch(63.03% 0.204 295.9)
XYZxyz(33.8388, 22.6131, 88.1523)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766F4 #C3F466
analogous
#667CF4 #9766F4 #DE66F4
triadic
#9766F4 #F49766 #66F497
tetradic
#9766F4 #F4667C #C3F466 #66F4DE
square
#9766F4 #F4667C #C3F466 #66F4DE
split-complementary
#9766F4 #F4DE66 #7CF466
monochromatic
#520FD1 #702DF0 #9766F4 #BE9FF8 #E5D8FC

Accessibility & contrast

On white

3.80
#9766F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9766F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766F4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766F4#FFFFFF#000000##000000
##9766F41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0584F9
Deuteranopia (green-blind)
#2981F1
Tritanopia (blue-blind)
#8085A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9766f4;
/* rgb */ color: rgb(151, 102, 244);
/* oklch */ color: oklch(63.0% 0.204 295.9);
Tailwind
colors: {
  custom: {
    50: '#bb93f8',
    500: '#9766f4',
    950: '#000000',
  },
}
SCSS
$custom: #9766f4;
$custom-light: #bb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9766f4",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 260.704,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63031,
    "c": 0.20406,
    "h": 295.9
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#9766F4
secondary
#E2F1C5
accent
#E30296
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766F4

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

Preview Lab → · Contrast checker → · Palette generator →

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