#9166FB#9166FB

#9166FB is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 62.9% C 0.212 H 292.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9166FB
RGBrgb(145, 102, 251)
HSLhsl(257, 95%, 69%)
HSVhsv(257, 59%, 98%)
CMYKcmyk(42.2%, 59.4%, 0%, 1.6%)
CIE-LABlab(54.54, 50.32, -68.69)
CIE-LCHlch(54.54, 85.14, 306.22°)
OKLaboklab(62.94% 0.0813 -0.1959)
OKLCHoklch(62.94% 0.212 292.5)
XYZxyz(33.8363, 22.4865, 93.8057)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166FB #D0FB66
analogous
#6686FB #9166FB #DB66FB
triadic
#9166FB #FB9166 #66FB91
tetradic
#9166FB #FB6686 #D0FB66 #66FBDB
square
#9166FB #FB6686 #D0FB66 #66FBDB
split-complementary
#9166FB #FBDB66 #86FB66
monochromatic
#4506E1 #662AF9 #9166FB #BCA2FD #E7DDFE

Accessibility & contrast

On white

3.82
#9166FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#9166FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166FB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166FB#FFFFFF#000000##000000
##9166FB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#7387A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166fb;
/* rgb */ color: rgb(145, 102, 251);
/* oklch */ color: oklch(62.9% 0.212 292.5);
Tailwind
colors: {
  custom: {
    50: '#b893fd',
    500: '#9166fb',
    950: '#000000',
  },
}
SCSS
$custom: #9166fb;
$custom-light: #b893fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9166fb",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 257.315,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62942,
    "c": 0.21208,
    "h": 292.5
  },
  "luminance": 0.22488
}

Semantic roles & 50–950 ramp

primary
#9166FB
secondary
#E8F4C9
accent
#E600A3
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166FB

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

Preview Lab → · Contrast checker → · Palette generator →

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