#9147BD#9147BD

#9147BD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.184 H 310.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9147BD
RGBrgb(145, 71, 189)
HSLhsl(278, 47%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(23.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(44.52, 51.23, -49.60)
CIE-LCHlch(44.52, 71.31, 315.92°)
OKLaboklab(54.38% 0.1198 -0.1397)
OKLCHoklch(54.38% 0.184 310.6)
XYZxyz(23.1139, 14.2008, 49.6577)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BD #73BD47
analogous
#5647BD #9147BD #BD47AE
triadic
#9147BD #BD9147 #47BD91
tetradic
#9147BD #BD5647 #73BD47 #47AEBD
square
#9147BD #BD5647 #73BD47 #47AEBD
split-complementary
#9147BD #AEBD47 #47BD56
monochromatic
#4D2465 #6F3492 #9147BD #AC74CD #C7A1DD

Accessibility & contrast

On white

5.47
#9147BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9147BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BD#FFFFFF#000000##FFFFFF
##9147BD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#8B5E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9147bd;
/* rgb */ color: rgb(145, 71, 189);
/* oklch */ color: oklch(54.4% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#b57ed1',
    500: '#9147bd',
    950: '#000000',
  },
}
SCSS
$custom: #9147bd;
$custom-light: #b57ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9147bd",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 277.627,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.18407,
    "h": 310.6
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#9147BD
secondary
#A9CA96
accent
#D75183
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9147BD

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

Preview Lab → · Contrast checker → · Palette generator →

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