#9B66ED#9B66ED

#9B66ED is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.0% C 0.196 H 298.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9B66ED
RGBrgb(155, 102, 237)
HSLhsl(264, 79%, 66%)
HSVhsv(264, 57%, 93%)
CMYKcmyk(34.6%, 57%, 0%, 7.1%)
CIE-LABlab(54.64, 48.87, -60.68)
CIE-LCHlch(54.64, 77.91, 308.85°)
OKLaboklab(62.97% 0.0943 -0.172)
OKLCHoklch(62.97% 0.196 298.7)
XYZxyz(33.5512, 22.5854, 82.6961)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B66ED #B8ED66
analogous
#6675ED #9B66ED #DF66ED
triadic
#9B66ED #ED9B66 #66ED9B
tetradic
#9B66ED #ED6675 #B8ED66 #66EDDF
square
#9B66ED #ED6675 #B8ED66 #66EDDF
split-complementary
#9B66ED #EDDF66 #75ED66
monochromatic
#5A17C2 #772FE7 #9B66ED #BF9DF3 #E3D4FA

Accessibility & contrast

On white

3.81
#9B66ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9B66ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B66ED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B66ED#FFFFFF#000000##000000
##9B66ED1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F1
Deuteranopia (green-blind)
#3A81EA
Tritanopia (blue-blind)
#8982A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b66ed;
/* rgb */ color: rgb(155, 102, 237);
/* oklch */ color: oklch(63.0% 0.196 298.7);
Tailwind
colors: {
  custom: {
    50: '#bd93f3',
    500: '#9b66ed',
    950: '#000000',
  },
}
SCSS
$custom: #9b66ed;
$custom-light: #bd93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b66ed",
  "rgb": {
    "r": 155,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 263.556,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.1962,
    "h": 298.7
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#9B66ED
secondary
#DCEDC2
accent
#DB0A89
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9B66ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9B66ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva