#9165AC#9165AC

#9165AC is a mid, moderate violet. Relative luminance 0.183; OKLCH L 58.0% C 0.116 H 311.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9165AC
RGBrgb(145, 101, 172)
HSLhsl(277, 30%, 54%)
HSVhsv(277, 41%, 67%)
CMYKcmyk(15.7%, 41.3%, 0%, 32.5%)
CIE-LABlab(49.87, 31.14, -31.22)
CIE-LCHlch(49.87, 44.09, 314.93°)
OKLaboklab(58.04% 0.077 -0.0864)
OKLCHoklch(58.04% 0.116 311.7)
XYZxyz(23.7758, 18.3061, 41.3027)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9165AC #80AC65
analogous
#6D65AC #9165AC #AC65A3
triadic
#9165AC #AC9165 #65AC91
tetradic
#9165AC #AC6D65 #80AC65 #65A3AC
square
#9165AC #AC6D65 #80AC65 #65A3AC
split-complementary
#9165AC #A3AC65 #65AC6D
monochromatic
#513562 #714A8A #9165AC #AD8DC1 #CAB5D7

Accessibility & contrast

On white

4.51
#9165AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9165AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9165AC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9165AC#FFFFFF#000000##000000
##9165AC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#8E6F80
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9165ac;
/* rgb */ color: rgb(145, 101, 172);
/* oklch */ color: oklch(58.0% 0.116 311.7);
Tailwind
colors: {
  custom: {
    50: '#b292c5',
    500: '#9165ac',
    950: '#000000',
  },
}
SCSS
$custom: #9165ac;
$custom-light: #b292c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9165ac",
  "rgb": {
    "r": 145,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 277.183,
    "s": 29.958,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.11571,
    "h": 311.7
  },
  "luminance": 0.18306
}

Semantic roles & 50–950 ramp

primary
#9165AC
secondary
#B3C6A7
accent
#C66288
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9165AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9165AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva