#9166BD#9166BD

#9166BD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.1% C 0.135 H 305.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9166BD
RGBrgb(145, 102, 189)
HSLhsl(270, 40%, 57%)
HSVhsv(270, 46%, 74%)
CMYKcmyk(23.3%, 46%, 0%, 25.9%)
CIE-LABlab(50.92, 34.52, -39.43)
CIE-LCHlch(50.92, 52.40, 311.20°)
OKLaboklab(59.1% 0.0785 -0.1102)
OKLCHoklch(59.1% 0.135 305.5)
XYZxyz(25.6118, 19.1968, 50.4903)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166BD #92BD66
analogous
#6667BD #9166BD #BC66BD
triadic
#9166BD #BD9166 #66BD91
tetradic
#9166BD #BD6667 #92BD66 #66BDBC
square
#9166BD #BD6667 #92BD66 #66BDBC
split-complementary
#9166BD #BDBC66 #67BD66
monochromatic
#543376 #7245A1 #9166BD #B091CF #CEBCE2

Accessibility & contrast

On white

4.34
#9166BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9166BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166BD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166BD#FFFFFF#000000##000000
##9166BD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#5A79BB
Tritanopia (blue-blind)
#8A7588
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9166bd;
/* rgb */ color: rgb(145, 102, 189);
/* oklch */ color: oklch(59.1% 0.135 305.5);
Tailwind
colors: {
  custom: {
    50: '#b392d1',
    500: '#9166bd',
    950: '#000000',
  },
}
SCSS
$custom: #9166bd;
$custom-light: #b392d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9166bd",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 269.655,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.13524,
    "h": 305.5
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#9166BD
secondary
#C0D1AE
accent
#D05895
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #9166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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