#9166FE#9166FE

#9166FE is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.1% C 0.216 H 292.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9166FE
RGBrgb(145, 102, 254)
HSLhsl(257, 99%, 70%)
HSVhsv(257, 60%, 100%)
CMYKcmyk(42.9%, 59.8%, 0%, 0.4%)
CIE-LABlab(54.74, 51.12, -70.03)
CIE-LCHlch(54.74, 86.70, 306.13°)
OKLaboklab(63.15% 0.0812 -0.1998)
OKLCHoklch(63.15% 0.216 292.1)
XYZxyz(34.3129, 22.6772, 96.3160)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166FE #D3FE66
analogous
#6687FE #9166FE #DD66FE
triadic
#9166FE #FE9166 #66FE91
tetradic
#9166FE #FE6687 #D3FE66 #66FEDD
square
#9166FE #FE6687 #D3FE66 #66FEDD
split-complementary
#9166FE #FEDD66 #87FE66
monochromatic
#4302E8 #6529FE #9166FE #BDA3FE #E8E0FF

Accessibility & contrast

On white

3.79
#9166FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#9166FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166FE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166FE#FFFFFF#000000##000000
##9166FE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0080FB
Tritanopia (blue-blind)
#7288A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9166fe;
/* rgb */ color: rgb(145, 102, 254);
/* oklch */ color: oklch(63.1% 0.216 292.1);
Tailwind
colors: {
  custom: {
    50: '#b893ff',
    500: '#9166fe',
    950: '#000000',
  },
}
SCSS
$custom: #9166fe;
$custom-light: #b893ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9166fe",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 256.974,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.21567,
    "h": 292.1
  },
  "luminance": 0.22678
}

Semantic roles & 50–950 ramp

primary
#9166FE
secondary
#E9F5CA
accent
#E600A5
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166FE

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

Preview Lab → · Contrast checker → · Palette generator →

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