#9151BF#9151BF

#9151BF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.171 H 308.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9151BF
RGBrgb(145, 81, 191)
HSLhsl(275, 46%, 53%)
HSVhsv(275, 58%, 75%)
CMYKcmyk(24.1%, 57.6%, 0%, 25.1%)
CIE-LABlab(46.53, 46.58, -47.54)
CIE-LCHlch(46.53, 66.56, 314.41°)
OKLaboklab(55.89% 0.1073 -0.1338)
OKLCHoklch(55.89% 0.171 308.7)
XYZxyz(24.0216, 15.6666, 51.0386)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151BF #7FBF51
analogous
#5A51BF #9151BF #BF51B6
triadic
#9151BF #BF9151 #51BF91
tetradic
#9151BF #BF5A51 #7FBF51 #51B6BF
square
#9151BF #BF5A51 #7FBF51 #51B6BF
split-complementary
#9151BF #B6BF51 #51BF5A
monochromatic
#50286D #71399A #9151BF #AD7ECF #CAAAE0

Accessibility & contrast

On white

5.08
#9151BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9151BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151BF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151BF#FFFFFF#000000##FFFFFF
##9151BF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#8A6580
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9151bf;
/* rgb */ color: rgb(145, 81, 191);
/* oklch */ color: oklch(55.9% 0.171 308.7);
Tailwind
colors: {
  custom: {
    50: '#b485d3',
    500: '#9151bf',
    950: '#000000',
  },
}
SCSS
$custom: #9151bf;
$custom-light: #b485d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9151bf",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 274.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.17145,
    "h": 308.7
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#9151BF
secondary
#B2CE9E
accent
#D65289
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9151BF

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

Preview Lab → · Contrast checker → · Palette generator →

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