#9147BB#9147BB

#9147BB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.182 H 311.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9147BB
RGBrgb(145, 71, 187)
HSLhsl(278, 46%, 51%)
HSVhsv(278, 62%, 73%)
CMYKcmyk(22.5%, 62%, 0%, 26.7%)
CIE-LABlab(44.40, 50.79, -48.63)
CIE-LCHlch(44.40, 70.32, 316.24°)
OKLaboklab(54.25% 0.1199 -0.1369)
OKLCHoklch(54.25% 0.182 311.2)
XYZxyz(22.8983, 14.1146, 48.5222)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BB #71BB47
analogous
#5747BB #9147BB #BB47AB
triadic
#9147BB #BB9147 #47BB91
tetradic
#9147BB #BB5747 #71BB47 #47ABBB
square
#9147BB #BB5747 #71BB47 #47ABBB
split-complementary
#9147BB #ABBB47 #47BB57
monochromatic
#4C2563 #6F3590 #9147BB #AC74CC #C6A0DC

Accessibility & contrast

On white

5.49
#9147BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9147BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BB#FFFFFF#000000##FFFFFF
##9147BB1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#8C5D7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9147bb;
/* rgb */ color: rgb(145, 71, 187);
/* oklch */ color: oklch(54.3% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#b47ed0',
    500: '#9147bb',
    950: '#000000',
  },
}
SCSS
$custom: #9147bb;
$custom-light: #b47ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9147bb",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 278.276,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.18196,
    "h": 311.2
  },
  "luminance": 0.14114
}

Semantic roles & 50–950 ramp

primary
#9147BB
secondary
#A8C995
accent
#D65282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9147BB

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

Preview Lab → · Contrast checker → · Palette generator →

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