#9166F0#9166F0

#9166F0 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.2% C 0.199 H 294.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9166F0
RGBrgb(145, 102, 240)
HSLhsl(259, 82%, 67%)
HSVhsv(259, 58%, 94%)
CMYKcmyk(39.6%, 57.5%, 0%, 5.9%)
CIE-LABlab(53.83, 47.40, -63.72)
CIE-LCHlch(53.83, 79.42, 306.65°)
OKLaboklab(62.19% 0.0816 -0.1813)
OKLCHoklch(62.19% 0.199 294.2)
XYZxyz(32.1524, 21.8130, 84.9375)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F0 #C5F066
analogous
#6680F0 #9166F0 #D666F0
triadic
#9166F0 #F09166 #66F091
tetradic
#9166F0 #F06680 #C5F066 #66F0D6
square
#9166F0 #F06680 #C5F066 #66F0D6
split-complementary
#9166F0 #F0D666 #80F066
monochromatic
#4C14C8 #692EEB #9166F0 #B99EF5 #E1D5FB

Accessibility & contrast

On white

3.92
#9166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9166F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F0#FFFFFF#000000##000000
##9166F01.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E82F5
Deuteranopia (green-blind)
#267EED
Tritanopia (blue-blind)
#7984A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9166f0;
/* rgb */ color: rgb(145, 102, 240);
/* oklch */ color: oklch(62.2% 0.199 294.2);
Tailwind
colors: {
  custom: {
    50: '#b793f6',
    500: '#9166f0',
    950: '#000000',
  },
}
SCSS
$custom: #9166f0;
$custom-light: #b793f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f0",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 258.696,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.19879,
    "h": 294.2
  },
  "luminance": 0.21814
}

Semantic roles & 50–950 ramp

primary
#9166F0
secondary
#E1EFC3
accent
#DF079B
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166F0

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

Preview Lab → · Contrast checker → · Palette generator →

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