#9151B0#9151B0

#9151B0 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.0% C 0.155 H 313.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9151B0
RGBrgb(145, 81, 176)
HSLhsl(280, 38%, 50%)
HSVhsv(280, 54%, 69%)
CMYKcmyk(17.6%, 54%, 0%, 31%)
CIE-LABlab(45.69, 43.20, -40.13)
CIE-LCHlch(45.69, 58.96, 317.11°)
OKLaboklab(54.99% 0.1065 -0.1121)
OKLCHoklch(54.99% 0.155 313.5)
XYZxyz(22.4546, 15.0398, 42.7860)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151B0 #70B051
analogous
#6151B0 #9151B0 #B0519F
triadic
#9151B0 #B09151 #51B091
tetradic
#9151B0 #B06151 #70B051 #519FB0
square
#9151B0 #B06151 #70B051 #519FB0
split-complementary
#9151B0 #9FB051 #51B061
monochromatic
#4C2A5D #6F3D87 #9151B0 #AC7BC3 #C6A5D6

Accessibility & contrast

On white

5.24
#9151B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9151B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151B0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151B0#FFFFFF#000000##FFFFFF
##9151B01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#8E6179
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9151b0;
/* rgb */ color: rgb(145, 81, 176);
/* oklch */ color: oklch(55.0% 0.155 313.5);
Tailwind
colors: {
  custom: {
    50: '#b384c8',
    500: '#9151b0',
    950: '#000000',
  },
}
SCSS
$custom: #9151b0;
$custom-light: #b384c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9151b0",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 280.421,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.15461,
    "h": 313.5
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9151B0

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

Preview Lab → · Contrast checker → · Palette generator →

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