#9156BF#9156BF

#9156BF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.164 H 308.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9156BF
RGBrgb(145, 86, 191)
HSLhsl(274, 45%, 54%)
HSVhsv(274, 55%, 75%)
CMYKcmyk(24.1%, 55%, 0%, 25.1%)
CIE-LABlab(47.54, 43.91, -45.93)
CIE-LCHlch(47.54, 63.55, 313.71°)
OKLaboklab(56.63% 0.1007 -0.1291)
OKLCHoklch(56.63% 0.164 308)
XYZxyz(24.4069, 16.4372, 51.1670)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9156BF #84BF56
analogous
#5D56BF #9156BF #BF56B9
triadic
#9156BF #BF9156 #56BF91
tetradic
#9156BF #BF5D56 #84BF56 #56B9BF
square
#9156BF #BF5D56 #84BF56 #56B9BF
split-complementary
#9156BF #B9BF56 #56BF5D
monochromatic
#522A70 #723B9D #9156BF #AE82D0 #CBAFE1

Accessibility & contrast

On white

4.90
#9156BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9156BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9156BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9156BF#FFFFFF#000000##FFFFFF
##9156BF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#8A6982
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9156bf;
/* rgb */ color: rgb(145, 86, 191);
/* oklch */ color: oklch(56.6% 0.164 308.0);
Tailwind
colors: {
  custom: {
    50: '#b488d3',
    500: '#9156bf',
    950: '#000000',
  },
}
SCSS
$custom: #9156bf;
$custom-light: #b488d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9156bf",
  "rgb": {
    "r": 145,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 273.714,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.16371,
    "h": 308
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#9156BF
secondary
#B6CFA2
accent
#D5538C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9156BF

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

Preview Lab → · Contrast checker → · Palette generator →

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