#9766EA#9766EA

#9766EA is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.192 H 297.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9766EA
RGBrgb(151, 102, 234)
HSLhsl(262, 76%, 66%)
HSVhsv(262, 56%, 92%)
CMYKcmyk(35.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(54.05, 47.20, -59.97)
CIE-LCHlch(54.05, 76.32, 308.20°)
OKLaboklab(62.38% 0.0893 -0.1701)
OKLCHoklch(62.38% 0.192 297.7)
XYZxyz(32.3614, 22.0221, 80.3717)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766EA #B9EA66
analogous
#6677EA #9766EA #D966EA
triadic
#9766EA #EA9766 #66EA97
tetradic
#9766EA #EA6677 #B9EA66 #66EAD9
square
#9766EA #EA6677 #B9EA66 #66EAD9
split-complementary
#9766EA #EAD966 #77EA66
monochromatic
#561ABC #7230E3 #9766EA #BC9CF1 #E0D2F9

Accessibility & contrast

On white

3.89
#9766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766EA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766EA#FFFFFF#000000##000000
##9766EA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#3980E7
Tritanopia (blue-blind)
#84819E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9766ea;
/* rgb */ color: rgb(151, 102, 234);
/* oklch */ color: oklch(62.4% 0.192 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba93f1',
    500: '#9766ea',
    950: '#000000',
  },
}
SCSS
$custom: #9766ea;
$custom-light: #ba93f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9766ea",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 262.273,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.19208,
    "h": 297.7
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#9766EA
secondary
#DCECC0
accent
#D80D8D
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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