#9166FF#9166FF

#9166FF is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.2% C 0.217 H 292.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9166FF
RGBrgb(145, 102, 255)
HSLhsl(257, 100%, 70%)
HSVhsv(257, 60%, 100%)
CMYKcmyk(43.1%, 60%, 0%, 0%)
CIE-LABlab(54.80, 51.38, -70.47)
CIE-LCHlch(54.80, 87.21, 306.10°)
OKLaboklab(63.22% 0.0811 -0.2011)
OKLCHoklch(63.22% 0.217 292)
XYZxyz(34.4735, 22.7414, 97.1615)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166FF #D4FF66
analogous
#6687FF #9166FF #DE66FF
triadic
#9166FF #FF9166 #66FF91
tetradic
#9166FF #FF6687 #D4FF66 #66FFDE
square
#9166FF #FF6687 #D4FF66 #66FFDE
split-complementary
#9166FF #FFDE66 #87FF66
monochromatic
#4200EB #6529FF #9166FF #BDA3FF #E9E0FF

Accessibility & contrast

On white

3.78
#9166FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#9166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166FF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166FF#FFFFFF#000000##000000
##9166FF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0080FC
Tritanopia (blue-blind)
#7189A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9166ff;
/* rgb */ color: rgb(145, 102, 255);
/* oklch */ color: oklch(63.2% 0.217 292.0);
Tailwind
colors: {
  custom: {
    50: '#b893ff',
    500: '#9166ff',
    950: '#000000',
  },
}
SCSS
$custom: #9166ff;
$custom-light: #b893ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9166ff",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 256.863,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.6322,
    "c": 0.21687,
    "h": 292
  },
  "luminance": 0.22742
}

Semantic roles & 50–950 ramp

primary
#9166FF
secondary
#EAF6CB
accent
#E600A5
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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