#9166FA#9166FA

#9166FA is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.9% C 0.211 H 292.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9166FA
RGBrgb(145, 102, 250)
HSLhsl(257, 94%, 69%)
HSVhsv(257, 59%, 98%)
CMYKcmyk(42%, 59.2%, 0%, 2%)
CIE-LABlab(54.47, 50.05, -68.24)
CIE-LCHlch(54.47, 84.63, 306.26°)
OKLaboklab(62.87% 0.0814 -0.1945)
OKLCHoklch(62.87% 0.211 292.7)
XYZxyz(33.6790, 22.4237, 92.9777)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166FA #CFFA66
analogous
#6685FA #9166FA #DB66FA
triadic
#9166FA #FA9166 #66FA91
tetradic
#9166FA #FA6685 #CFFA66 #66FADB
square
#9166FA #FA6685 #CFFA66 #66FADB
split-complementary
#9166FA #FADB66 #85FA66
monochromatic
#4607DE #662BF8 #9166FA #BCA1FC #E6DDFE

Accessibility & contrast

On white

3.83
#9166FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166FA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166FA#FFFFFF#000000##000000
##9166FA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#017FF7
Tritanopia (blue-blind)
#7487A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9166fa;
/* rgb */ color: rgb(145, 102, 250);
/* oklch */ color: oklch(62.9% 0.211 292.7);
Tailwind
colors: {
  custom: {
    50: '#b893fd',
    500: '#9166fa',
    950: '#000000',
  },
}
SCSS
$custom: #9166fa;
$custom-light: #b893fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9166fa",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 257.432,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.21088,
    "h": 292.7
  },
  "luminance": 0.22425
}

Semantic roles & 50–950 ramp

primary
#9166FA
secondary
#E7F4C8
accent
#E600A3
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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