#9156BB#9156BB

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

Color values

HEX#9156BB
RGBrgb(145, 86, 187)
HSLhsl(275, 43%, 54%)
HSVhsv(275, 54%, 73%)
CMYKcmyk(22.5%, 54%, 0%, 26.7%)
CIE-LABlab(47.32, 42.99, -43.97)
CIE-LCHlch(47.32, 61.49, 314.35°)
OKLaboklab(56.39% 0.1005 -0.1233)
OKLCHoklch(56.39% 0.159 309.2)
XYZxyz(23.9728, 16.2636, 48.8804)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156BB #80BB56
analogous
#5E56BB #9156BB #BB56B2
triadic
#9156BB #BB9156 #56BB91
tetradic
#9156BB #BB5E56 #80BB56 #56B2BB
square
#9156BB #BB5E56 #80BB56 #56B2BB
split-complementary
#9156BB #B2BB56 #56BB5E
monochromatic
#512B6B #713D97 #9156BB #AD82CD #CAADDE

Accessibility & contrast

On white

4.94
#9156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9156BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156BB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156BB#FFFFFF#000000##FFFFFF
##9156BB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#8B6880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9156bb;
/* rgb */ color: rgb(145, 86, 187);
/* oklch */ color: oklch(56.4% 0.159 309.2);
Tailwind
colors: {
  custom: {
    50: '#b488d0',
    500: '#9156bb',
    950: '#000000',
  },
}
SCSS
$custom: #9156bb;
$custom-light: #b488d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9156bb",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 275.05,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.15907,
    "h": 309.2
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#9156BB
secondary
#B3CCA1
accent
#D25589
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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