#9166F8#9166F8

#9166F8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.7% C 0.208 H 293.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9166F8
RGBrgb(145, 102, 248)
HSLhsl(258, 91%, 69%)
HSVhsv(258, 59%, 97%)
CMYKcmyk(41.5%, 58.9%, 0%, 2.7%)
CIE-LABlab(54.34, 49.52, -67.34)
CIE-LCHlch(54.34, 83.59, 306.33°)
OKLaboklab(62.74% 0.0814 -0.1919)
OKLCHoklch(62.74% 0.208 293)
XYZxyz(33.3671, 22.2989, 91.3348)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F8 #CDF866
analogous
#6684F8 #9166F8 #DA66F8
triadic
#9166F8 #F89166 #66F891
tetradic
#9166F8 #F86684 #CDF866 #66F8DA
square
#9166F8 #F86684 #CDF866 #66F8DA
split-complementary
#9166F8 #F8DA66 #84F866
monochromatic
#470ADA #672BF5 #9166F8 #BBA1FB #E5DBFD

Accessibility & contrast

On white

3.85
#9166F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9166F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F8#FFFFFF#000000##000000
##9166F81.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#0E7FF5
Tritanopia (blue-blind)
#7586A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166f8;
/* rgb */ color: rgb(145, 102, 248);
/* oklch */ color: oklch(62.7% 0.208 293.0);
Tailwind
colors: {
  custom: {
    50: '#b793fb',
    500: '#9166f8',
    950: '#000000',
  },
}
SCSS
$custom: #9166f8;
$custom-light: #b793fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f8",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 257.671,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.20847,
    "h": 293
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

primary
#9166F8
secondary
#E6F3C7
accent
#E600A2
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166F8

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

Preview Lab → · Contrast checker → · Palette generator →

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