#9151BB#9151BB

#9151BB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.167 H 309.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9151BB
RGBrgb(145, 81, 187)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 57%, 73%)
CMYKcmyk(22.5%, 56.7%, 0%, 26.7%)
CIE-LABlab(46.30, 45.66, -45.59)
CIE-LCHlch(46.30, 64.53, 315.05°)
OKLaboklab(55.64% 0.1071 -0.128)
OKLCHoklch(55.64% 0.167 309.9)
XYZxyz(23.5874, 15.4929, 48.7519)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BB #7BBB51
analogous
#5C51BB #9151BB #BB51B0
triadic
#9151BB #BB9151 #51BB91
tetradic
#9151BB #BB5C51 #7BBB51 #51B0BB
square
#9151BB #BB5C51 #7BBB51 #51B0BB
split-complementary
#9151BB #B0BB51 #51BB5C
monochromatic
#4F2969 #713A95 #9151BB #AD7DCC #C9A9DD

Accessibility & contrast

On white

5.12
#9151BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9151BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BB#FFFFFF#000000##FFFFFF
##9151BB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#466FB8
Tritanopia (blue-blind)
#8C647E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151bb;
/* rgb */ color: rgb(145, 81, 187);
/* oklch */ color: oklch(55.6% 0.167 309.9);
Tailwind
colors: {
  custom: {
    50: '#b485d0',
    500: '#9151bb',
    950: '#000000',
  },
}
SCSS
$custom: #9151bb;
$custom-light: #b485d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9151bb",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 276.226,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55642,
    "c": 0.16695,
    "h": 309.9
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#9151BB
secondary
#AFCB9D
accent
#D45487
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9151BB

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

Preview Lab → · Contrast checker → · Palette generator →

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