#9166F4#9166F4

#9166F4 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.5% C 0.204 H 293.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9166F4
RGBrgb(145, 102, 244)
HSLhsl(258, 87%, 68%)
HSVhsv(258, 58%, 96%)
CMYKcmyk(40.6%, 58.2%, 0%, 4.3%)
CIE-LABlab(54.08, 48.46, -65.53)
CIE-LCHlch(54.08, 81.50, 306.48°)
OKLaboklab(62.46% 0.0816 -0.1866)
OKLCHoklch(62.46% 0.204 293.6)
XYZxyz(32.7532, 22.0533, 88.1014)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166F4 #C9F466
analogous
#6682F4 #9166F4 #D866F4
triadic
#9166F4 #F49166 #66F491
tetradic
#9166F4 #F46682 #C9F466 #66F4D8
square
#9166F4 #F46682 #C9F466 #66F4D8
split-complementary
#9166F4 #F4D866 #82F466
monochromatic
#4A0FD1 #682DF0 #9166F4 #BA9FF8 #E3D8FC

Accessibility & contrast

On white

3.88
#9166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9166F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166F4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166F4#FFFFFF#000000##000000
##9166F41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#1D7FF1
Tritanopia (blue-blind)
#7785A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9166f4;
/* rgb */ color: rgb(145, 102, 244);
/* oklch */ color: oklch(62.5% 0.204 293.6);
Tailwind
colors: {
  custom: {
    50: '#b793f9',
    500: '#9166f4',
    950: '#000000',
  },
}
SCSS
$custom: #9166f4;
$custom-light: #b793f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9166f4",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 258.169,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62463,
    "c": 0.20364,
    "h": 293.6
  },
  "luminance": 0.22054
}

Semantic roles & 50–950 ramp

primary
#9166F4
secondary
#E4F1C5
accent
#E3029F
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9166F4

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

Preview Lab → · Contrast checker → · Palette generator →

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