#9150BC#9150BC

#9150BC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.170 H 309.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9150BC
RGBrgb(145, 80, 188)
HSLhsl(276, 45%, 53%)
HSVhsv(276, 57%, 74%)
CMYKcmyk(22.9%, 57.4%, 0%, 26.3%)
CIE-LABlab(46.16, 46.42, -46.39)
CIE-LCHlch(46.16, 65.63, 315.02°)
OKLaboklab(55.56% 0.1085 -0.1304)
OKLCHoklch(55.56% 0.17 309.8)
XYZxyz(23.6211, 15.3883, 49.2931)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150BC #7BBC50
analogous
#5B50BC #9150BC #BC50B1
triadic
#9150BC #BC9150 #50BC91
tetradic
#9150BC #BC5B50 #7BBC50 #50B1BC
square
#9150BC #BC5B50 #7BBC50 #50B1BC
split-complementary
#9150BC #B1BC50 #50BC5B
monochromatic
#4F2869 #713996 #9150BC #AD7CCD #C9A9DE

Accessibility & contrast

On white

5.15
#9150BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9150BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150BC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150BC#FFFFFF#000000##FFFFFF
##9150BC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6AC0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#8B647E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9150bc;
/* rgb */ color: rgb(145, 80, 188);
/* oklch */ color: oklch(55.6% 0.170 309.8);
Tailwind
colors: {
  custom: {
    50: '#b484d1',
    500: '#9150bc',
    950: '#000000',
  },
}
SCSS
$custom: #9150bc;
$custom-light: #b484d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9150bc",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 276.111,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.16961,
    "h": 309.8
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#9150BC
secondary
#AFCB9C
accent
#D45387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9150BC

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

Preview Lab → · Contrast checker → · Palette generator →

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