#9150B1#9150B1

#9150B1 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.9% C 0.157 H 313.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9150B1
RGBrgb(145, 80, 177)
HSLhsl(280, 38%, 50%)
HSVhsv(280, 55%, 69%)
CMYKcmyk(18.1%, 54.8%, 0%, 30.6%)
CIE-LABlab(45.54, 43.95, -40.95)
CIE-LCHlch(45.54, 60.07, 317.02°)
OKLaboklab(54.9% 0.1079 -0.1145)
OKLCHoklch(54.9% 0.157 313.3)
XYZxyz(22.4802, 14.9320, 43.2844)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150B1 #70B150
analogous
#6050B1 #9150B1 #B150A1
triadic
#9150B1 #B19150 #50B191
tetradic
#9150B1 #B16050 #70B150 #50A1B1
square
#9150B1 #B16050 #70B150 #50A1B1
split-complementary
#9150B1 #A1B150 #50B160
monochromatic
#4C295D #6F3C87 #9150B1 #AC7AC4 #C6A5D7

Accessibility & contrast

On white

5.27
#9150B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9150B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150B1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150B1#FFFFFF#000000##FFFFFF
##9150B11.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#4C6DAF
Tritanopia (blue-blind)
#8E6079
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9150b1;
/* rgb */ color: rgb(145, 80, 177);
/* oklch */ color: oklch(54.9% 0.157 313.3);
Tailwind
colors: {
  custom: {
    50: '#b484c9',
    500: '#9150b1',
    950: '#000000',
  },
}
SCSS
$custom: #9150b1;
$custom-light: #b484c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9150b1",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 177
  },
  "hsl": {
    "h": 280.206,
    "s": 38.34,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.15734,
    "h": 313.3
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#9150B1
secondary
#A7C499
accent
#CE5A80
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9150B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9150B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva