#9766ED#9766ED

#9766ED is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.196 H 297.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9766ED
RGBrgb(151, 102, 237)
HSLhsl(262, 79%, 66%)
HSVhsv(262, 57%, 93%)
CMYKcmyk(36.3%, 57%, 0%, 7.1%)
CIE-LABlab(54.23, 47.96, -61.36)
CIE-LCHlch(54.23, 77.88, 308.01°)
OKLaboklab(62.57% 0.0893 -0.1741)
OKLCHoklch(62.57% 0.196 297.1)
XYZxyz(32.7961, 22.1960, 82.6607)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9766ED #BCED66
analogous
#6679ED #9766ED #DB66ED
triadic
#9766ED #ED9766 #66ED97
tetradic
#9766ED #ED6679 #BCED66 #66EDDB
square
#9766ED #ED6679 #BCED66 #66EDDB
split-complementary
#9766ED #EDDB66 #79ED66
monochromatic
#5517C2 #722FE7 #9766ED #BC9DF3 #E1D4FA

Accessibility & contrast

On white

3.86
#9766ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9766ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9766ED
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9766ED#FFFFFF#000000##000000
##9766ED1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F1
Deuteranopia (green-blind)
#3580EA
Tritanopia (blue-blind)
#8382A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9766ed;
/* rgb */ color: rgb(151, 102, 237);
/* oklch */ color: oklch(62.6% 0.196 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba93f4',
    500: '#9766ed',
    950: '#000000',
  },
}
SCSS
$custom: #9766ed;
$custom-light: #ba93f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9766ed",
  "rgb": {
    "r": 151,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 261.778,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.19569,
    "h": 297.1
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#9766ED
secondary
#DDEDC2
accent
#DB0A8F
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9766ED

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

Preview Lab → · Contrast checker → · Palette generator →

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