#9156BD#9156BD

#9156BD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.161 H 308.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9156BD
RGBrgb(145, 86, 189)
HSLhsl(274, 44%, 54%)
HSVhsv(274, 54%, 74%)
CMYKcmyk(23.3%, 54.5%, 0%, 25.9%)
CIE-LABlab(47.43, 43.45, -44.95)
CIE-LCHlch(47.43, 62.52, 314.02°)
OKLaboklab(56.51% 0.1006 -0.1262)
OKLCHoklch(56.51% 0.161 308.6)
XYZxyz(24.1883, 16.3498, 50.0158)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156BD #82BD56
analogous
#5E56BD #9156BD #BD56B6
triadic
#9156BD #BD9156 #56BD91
tetradic
#9156BD #BD5E56 #82BD56 #56B6BD
square
#9156BD #BD5E56 #82BD56 #56B6BD
split-complementary
#9156BD #B6BD56 #56BD5E
monochromatic
#512B6E #723C9A #9156BD #AE82CE #CAAEDF

Accessibility & contrast

On white

4.92
#9156BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9156BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156BD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156BD#FFFFFF#000000##FFFFFF
##9156BD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#8B6881
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9156bd;
/* rgb */ color: rgb(145, 86, 189);
/* oklch */ color: oklch(56.5% 0.161 308.6);
Tailwind
colors: {
  custom: {
    50: '#b488d1',
    500: '#9156bd',
    950: '#000000',
  },
}
SCSS
$custom: #9156bd;
$custom-light: #b488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9156bd",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 274.369,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56508,
    "c": 0.16138,
    "h": 308.6
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#9156BD
secondary
#B4CDA1
accent
#D4548B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9156BD

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

Preview Lab → · Contrast checker → · Palette generator →

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