#9166F7#9166F7

#9166F7 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.7% C 0.207 H 293.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9166F7
RGBrgb(145, 102, 247)
HSLhsl(258, 90%, 68%)
HSVhsv(258, 59%, 97%)
CMYKcmyk(41.3%, 58.7%, 0%, 3.1%)
CIE-LABlab(54.28, 49.25, -66.89)
CIE-LCHlch(54.28, 83.07, 306.37°)
OKLaboklab(62.67% 0.0815 -0.1906)
OKLCHoklch(62.67% 0.207 293.1)
XYZxyz(33.2124, 22.2370, 90.5199)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F7 #CCF766
analogous
#6683F7 #9166F7 #D966F7
triadic
#9166F7 #F79166 #66F791
tetradic
#9166F7 #F76683 #CCF766 #66F7D9
square
#9166F7 #F76683 #CCF766 #66F7D9
split-complementary
#9166F7 #F7D966 #83F766
monochromatic
#480BD7 #672CF4 #9166F7 #BBA0FA #E5DAFD

Accessibility & contrast

On white

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

On black

5.45
#9166F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F7#FFFFFF#000000##000000
##9166F71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#137FF4
Tritanopia (blue-blind)
#7586A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166f7;
/* rgb */ color: rgb(145, 102, 247);
/* oklch */ color: oklch(62.7% 0.207 293.1);
Tailwind
colors: {
  custom: {
    50: '#b793fb',
    500: '#9166f7',
    950: '#000000',
  },
}
SCSS
$custom: #9166f7;
$custom-light: #b793fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f7",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 257.793,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.20727,
    "h": 293.1
  },
  "luminance": 0.22238
}

Semantic roles & 50–950 ramp

primary
#9166F7
secondary
#E5F2C7
accent
#E600A1
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166F7

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

Preview Lab → · Contrast checker → · Palette generator →

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