#9159BB#9159BB

#9159BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.154 H 308.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9159BB
RGBrgb(145, 89, 187)
HSLhsl(274, 42%, 54%)
HSVhsv(274, 52%, 73%)
CMYKcmyk(22.5%, 52.4%, 0%, 26.7%)
CIE-LABlab(47.95, 41.35, -42.97)
CIE-LCHlch(47.95, 59.63, 313.90°)
OKLaboklab(56.85% 0.0964 -0.1204)
OKLCHoklch(56.85% 0.154 308.7)
XYZxyz(24.2173, 16.7527, 48.9619)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159BB #83BB59
analogous
#6059BB #9159BB #BB59B4
triadic
#9159BB #BB9159 #59BB91
tetradic
#9159BB #BB6059 #83BB59 #59B4BB
square
#9159BB #BB6059 #83BB59 #59B4BB
split-complementary
#9159BB #B4BB59 #59BB60
monochromatic
#512D6D #723E98 #9159BB #AE84CD #CBB0DF

Accessibility & contrast

On white

4.83
#9159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9159BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9159BB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159BB#FFFFFF#000000##FFFFFF
##9159BB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6FBE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#8B6A82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9159bb;
/* rgb */ color: rgb(145, 89, 187);
/* oklch */ color: oklch(56.9% 0.154 308.7);
Tailwind
colors: {
  custom: {
    50: '#b48ad0',
    500: '#9159bb',
    950: '#000000',
  },
}
SCSS
$custom: #9159bb;
$custom-light: #b48ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9159bb",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 274.286,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.15425,
    "h": 308.7
  },
  "luminance": 0.16752
}

Semantic roles & 50–950 ramp

primary
#9159BB
secondary
#B5CDA3
accent
#D2568B
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #9159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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