#9166EF#9166EF

#9166EF is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.1% C 0.198 H 294.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9166EF
RGBrgb(145, 102, 239)
HSLhsl(259, 81%, 67%)
HSVhsv(259, 57%, 94%)
CMYKcmyk(39.3%, 57.3%, 0%, 6.3%)
CIE-LABlab(53.76, 47.14, -63.26)
CIE-LCHlch(53.76, 78.89, 306.69°)
OKLaboklab(62.13% 0.0816 -0.1799)
OKLCHoklch(62.13% 0.198 294.4)
XYZxyz(32.0043, 21.7538, 84.1573)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166EF #C4EF66
analogous
#6680EF #9166EF #D666EF
triadic
#9166EF #EF9166 #66EF91
tetradic
#9166EF #EF6680 #C4EF66 #66EFD6
square
#9166EF #EF6680 #C4EF66 #66EFD6
split-complementary
#9166EF #EFD666 #80EF66
monochromatic
#4C15C6 #692FE9 #9166EF #B99DF5 #E1D5FB

Accessibility & contrast

On white

3.92
#9166EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9166EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166EF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166EF#FFFFFF#000000##000000
##9166EF1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1282F4
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#7984A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9166ef;
/* rgb */ color: rgb(145, 102, 239);
/* oklch */ color: oklch(62.1% 0.198 294.4);
Tailwind
colors: {
  custom: {
    50: '#b793f5',
    500: '#9166ef',
    950: '#000000',
  },
}
SCSS
$custom: #9166ef;
$custom-light: #b793f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9166ef",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 258.832,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.19756,
    "h": 294.4
  },
  "luminance": 0.21754
}

Semantic roles & 50–950 ramp

primary
#9166EF
secondary
#E1EEC2
accent
#DD089A
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166EF

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

Preview Lab → · Contrast checker → · Palette generator →

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