#9151BD#9151BD

#9151BD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.169 H 309.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9151BD
RGBrgb(145, 81, 189)
HSLhsl(276, 45%, 53%)
HSVhsv(276, 57%, 74%)
CMYKcmyk(23.3%, 57.1%, 0%, 25.9%)
CIE-LABlab(46.42, 46.12, -46.57)
CIE-LCHlch(46.42, 65.54, 314.72°)
OKLaboklab(55.76% 0.1072 -0.1309)
OKLCHoklch(55.76% 0.169 309.3)
XYZxyz(23.8030, 15.5791, 49.8874)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BD #7DBD51
analogous
#5B51BD #9151BD #BD51B3
triadic
#9151BD #BD9151 #51BD91
tetradic
#9151BD #BD5B51 #7DBD51 #51B3BD
square
#9151BD #BD5B51 #7DBD51 #51B3BD
split-complementary
#9151BD #B3BD51 #51BD5B
monochromatic
#50296B #713997 #9151BD #AD7DCE #C9AADF

Accessibility & contrast

On white

5.10
#9151BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9151BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BD#FFFFFF#000000##FFFFFF
##9151BD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC1
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#8B657F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151bd;
/* rgb */ color: rgb(145, 81, 189);
/* oklch */ color: oklch(55.8% 0.169 309.3);
Tailwind
colors: {
  custom: {
    50: '#b485d1',
    500: '#9151bd',
    950: '#000000',
  },
}
SCSS
$custom: #9151bd;
$custom-light: #b485d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9151bd",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 275.556,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.16919,
    "h": 309.3
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#9151BD
secondary
#B1CC9E
accent
#D55388
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9151BD

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

Preview Lab → · Contrast checker → · Palette generator →

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