#9166EE#9166EE

#9166EE is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.196 H 294.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9166EE
RGBrgb(145, 102, 238)
HSLhsl(259, 80%, 67%)
HSVhsv(259, 57%, 93%)
CMYKcmyk(39.1%, 57.1%, 0%, 6.7%)
CIE-LABlab(53.70, 46.88, -62.80)
CIE-LCHlch(53.70, 78.37, 306.74°)
OKLaboklab(62.06% 0.0816 -0.1786)
OKLCHoklch(62.06% 0.196 294.6)
XYZxyz(31.8570, 21.6948, 83.3814)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166EE #C3EE66
analogous
#667FEE #9166EE #D566EE
triadic
#9166EE #EE9166 #66EE91
tetradic
#9166EE #EE667F #C3EE66 #66EED5
square
#9166EE #EE667F #C3EE66 #66EED5
split-complementary
#9166EE #EED566 #7FEE66
monochromatic
#4D16C4 #692FE8 #9166EE #B99DF4 #E0D4FA

Accessibility & contrast

On white

3.93
#9166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166EE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166EE#FFFFFF#000000##000000
##9166EE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1682F2
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#7983A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9166ee;
/* rgb */ color: rgb(145, 102, 238);
/* oklch */ color: oklch(62.1% 0.196 294.6);
Tailwind
colors: {
  custom: {
    50: '#b693f4',
    500: '#9166ee',
    950: '#000000',
  },
}
SCSS
$custom: #9166ee;
$custom-light: #b693f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9166ee",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 258.971,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.19635,
    "h": 294.6
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#9166EE
secondary
#E0EEC2
accent
#DC099A
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9166EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva