#9166F9#9166F9

#9166F9 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.8% C 0.210 H 292.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9166F9
RGBrgb(145, 102, 249)
HSLhsl(258, 92%, 69%)
HSVhsv(258, 59%, 98%)
CMYKcmyk(41.8%, 59%, 0%, 2.4%)
CIE-LABlab(54.41, 49.78, -67.79)
CIE-LCHlch(54.41, 84.11, 306.29°)
OKLaboklab(62.8% 0.0814 -0.1932)
OKLCHoklch(62.8% 0.21 292.8)
XYZxyz(33.5227, 22.3611, 92.1540)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F9 #CEF966
analogous
#6685F9 #9166F9 #DB66F9
triadic
#9166F9 #F99166 #66F991
tetradic
#9166F9 #F96685 #CEF966 #66F9DB
square
#9166F9 #F96685 #CEF966 #66F9DB
split-complementary
#9166F9 #F9DB66 #85F966
monochromatic
#4609DC #672BF7 #9166F9 #BBA1FB #E6DCFE

Accessibility & contrast

On white

3.84
#9166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9166F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F9#FFFFFF#000000##000000
##9166F91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#087FF6
Tritanopia (blue-blind)
#7487A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166f9;
/* rgb */ color: rgb(145, 102, 249);
/* oklch */ color: oklch(62.8% 0.210 292.8);
Tailwind
colors: {
  custom: {
    50: '#b793fc',
    500: '#9166f9',
    950: '#000000',
  },
}
SCSS
$custom: #9166f9;
$custom-light: #b793fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f9",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 257.551,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.20967,
    "h": 292.8
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9166F9

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

Preview Lab → · Contrast checker → · Palette generator →

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