#9156BC#9156BC

#9156BC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.160 H 308.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9156BC
RGBrgb(145, 86, 188)
HSLhsl(275, 43%, 54%)
HSVhsv(275, 54%, 74%)
CMYKcmyk(22.9%, 54.3%, 0%, 26.3%)
CIE-LABlab(47.37, 43.22, -44.46)
CIE-LCHlch(47.37, 62.01, 314.19°)
OKLaboklab(56.45% 0.1005 -0.1248)
OKLCHoklch(56.45% 0.16 308.9)
XYZxyz(24.0802, 16.3065, 49.4461)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156BC #81BC56
analogous
#5E56BC #9156BC #BC56B4
triadic
#9156BC #BC9156 #56BC91
tetradic
#9156BC #BC5E56 #81BC56 #56B4BC
square
#9156BC #BC5E56 #81BC56 #56B4BC
split-complementary
#9156BC #B4BC56 #56BC5E
monochromatic
#512B6D #723C98 #9156BC #AE82CD #CAAEDF

Accessibility & contrast

On white

4.93
#9156BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9156BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156BC#FFFFFF#000000##FFFFFF
##9156BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#8B6881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9156bc;
/* rgb */ color: rgb(145, 86, 188);
/* oklch */ color: oklch(56.4% 0.160 308.9);
Tailwind
colors: {
  custom: {
    50: '#b488d1',
    500: '#9156bc',
    950: '#000000',
  },
}
SCSS
$custom: #9156bc;
$custom-light: #b488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9156bc",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 274.706,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.16023,
    "h": 308.9
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#9156BC
secondary
#B3CDA1
accent
#D3558A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9156BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9156BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva