#9166F5#9166F5

#9166F5 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.5% C 0.205 H 293.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9166F5
RGBrgb(145, 102, 245)
HSLhsl(258, 88%, 68%)
HSVhsv(258, 58%, 96%)
CMYKcmyk(40.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(54.15, 48.72, -65.99)
CIE-LCHlch(54.15, 82.03, 306.44°)
OKLaboklab(62.53% 0.0815 -0.1879)
OKLCHoklch(62.53% 0.205 293.5)
XYZxyz(32.9054, 22.1142, 88.9033)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F5 #CAF566
analogous
#6682F5 #9166F5 #D866F5
triadic
#9166F5 #F59166 #66F591
tetradic
#9166F5 #F56682 #CAF566 #66F5D8
square
#9166F5 #F56682 #CAF566 #66F5D8
split-complementary
#9166F5 #F5D866 #82F566
monochromatic
#490ED3 #682DF1 #9166F5 #BA9FF9 #E4D9FD

Accessibility & contrast

On white

3.87
#9166F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9166F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F5#FFFFFF#000000##000000
##9166F51.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#1A7FF2
Tritanopia (blue-blind)
#7685A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9166f5;
/* rgb */ color: rgb(145, 102, 245);
/* oklch */ color: oklch(62.5% 0.205 293.5);
Tailwind
colors: {
  custom: {
    50: '#b793f9',
    500: '#9166f5',
    950: '#000000',
  },
}
SCSS
$custom: #9166f5;
$custom-light: #b793f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f5",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 258.042,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62531,
    "c": 0.20485,
    "h": 293.5
  },
  "luminance": 0.22115
}

Semantic roles & 50–950 ramp

primary
#9166F5
secondary
#E4F1C6
accent
#E401A0
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166F5

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

Preview Lab → · Contrast checker → · Palette generator →

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