#9166C0#9166C0

#9166C0 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.3% C 0.139 H 304.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9166C0
RGBrgb(145, 102, 192)
HSLhsl(269, 42%, 58%)
HSVhsv(269, 47%, 75%)
CMYKcmyk(24.5%, 46.9%, 0%, 24.7%)
CIE-LABlab(51.07, 35.24, -40.92)
CIE-LCHlch(51.07, 54.00, 310.73°)
OKLaboklab(59.26% 0.0789 -0.1145)
OKLCHoklch(59.26% 0.139 304.6)
XYZxyz(25.9408, 19.3284, 52.2231)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9166C0 #95C066
analogous
#6668C0 #9166C0 #BE66C0
triadic
#9166C0 #C09166 #66C091
tetradic
#9166C0 #C06668 #95C066 #66C0BE
square
#9166C0 #C06668 #95C066 #66C0BE
split-complementary
#9166C0 #C0BE66 #68C066
monochromatic
#54327A #7244A5 #9166C0 #B091D2 #CFBDE4

Accessibility & contrast

On white

4.32
#9166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9166C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9166C0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9166C0#FFFFFF#000000##000000
##9166C01.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C3
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#89758A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9166c0;
/* rgb */ color: rgb(145, 102, 192);
/* oklch */ color: oklch(59.3% 0.139 304.6);
Tailwind
colors: {
  custom: {
    50: '#b392d3',
    500: '#9166c0',
    950: '#000000',
  },
}
SCSS
$custom: #9166c0;
$custom-light: #b392d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9166c0",
  "rgb": {
    "r": 145,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 268.667,
    "s": 41.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59261,
    "c": 0.13903,
    "h": 304.6
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#9166C0
secondary
#C2D3AF
accent
#D15697
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #9166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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