#9159BF#9159BF

#9159BF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.159 H 307.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9159BF
RGBrgb(145, 89, 191)
HSLhsl(273, 44%, 55%)
HSVhsv(273, 53%, 75%)
CMYKcmyk(24.1%, 53.4%, 0%, 25.1%)
CIE-LABlab(48.17, 42.28, -44.94)
CIE-LCHlch(48.17, 61.70, 313.25°)
OKLaboklab(57.09% 0.0967 -0.1262)
OKLCHoklch(57.09% 0.159 307.5)
XYZxyz(24.6515, 16.9264, 51.2486)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9159BF #87BF59
analogous
#5E59BF #9159BF #BF59BA
triadic
#9159BF #BF9159 #59BF91
tetradic
#9159BF #BF5E59 #87BF59 #59BABF
square
#9159BF #BF5E59 #87BF59 #59BABF
split-complementary
#9159BF #BABF59 #59BF5E
monochromatic
#522C72 #723D9E #9159BF #AE85D0 #CCB1E1

Accessibility & contrast

On white

4.79
#9159BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9159BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9159BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9159BF#FFFFFF#000000##FFFFFF
##9159BF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#8A6B83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9159bf;
/* rgb */ color: rgb(145, 89, 191);
/* oklch */ color: oklch(57.1% 0.159 307.5);
Tailwind
colors: {
  custom: {
    50: '#b48ad3',
    500: '#9159bf',
    950: '#000000',
  },
}
SCSS
$custom: #9159bf;
$custom-light: #b48ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9159bf",
  "rgb": {
    "r": 145,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 272.941,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57088,
    "c": 0.15896,
    "h": 307.5
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#9159BF
secondary
#B8CFA4
accent
#D4548E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #9159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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