#9166F6#9166F6

#9166F6 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 62.6% C 0.206 H 293.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9166F6
RGBrgb(145, 102, 246)
HSLhsl(258, 89%, 68%)
HSVhsv(258, 59%, 96%)
CMYKcmyk(41.1%, 58.5%, 0%, 3.5%)
CIE-LABlab(54.21, 48.99, -66.44)
CIE-LCHlch(54.21, 82.55, 306.40°)
OKLaboklab(62.6% 0.0815 -0.1893)
OKLCHoklch(62.6% 0.206 293.3)
XYZxyz(33.0585, 22.1754, 89.7094)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F6 #CBF666
analogous
#6683F6 #9166F6 #D966F6
triadic
#9166F6 #F69166 #66F691
tetradic
#9166F6 #F66683 #CBF666 #66F6D9
square
#9166F6 #F66683 #CBF666 #66F6D9
split-complementary
#9166F6 #F6D966 #83F666
monochromatic
#480DD5 #672CF3 #9166F6 #BBA0F9 #E4DAFD

Accessibility & contrast

On white

3.86
#9166F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9166F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F6#FFFFFF#000000##000000
##9166F61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#167FF3
Tritanopia (blue-blind)
#7686A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166f6;
/* rgb */ color: rgb(145, 102, 246);
/* oklch */ color: oklch(62.6% 0.206 293.3);
Tailwind
colors: {
  custom: {
    50: '#b793fa',
    500: '#9166f6',
    950: '#000000',
  },
}
SCSS
$custom: #9166f6;
$custom-light: #b793fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f6",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 257.917,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62599,
    "c": 0.20606,
    "h": 293.3
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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