#9147BF#9147BF

#9147BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.186 H 310.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9147BF
RGBrgb(145, 71, 191)
HSLhsl(277, 48%, 51%)
HSVhsv(277, 63%, 75%)
CMYKcmyk(24.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(44.64, 51.68, -50.57)
CIE-LCHlch(44.64, 72.30, 315.62°)
OKLaboklab(54.51% 0.1198 -0.1426)
OKLCHoklch(54.51% 0.186 310)
XYZxyz(23.3325, 14.2883, 50.8089)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BF #75BF47
analogous
#5547BF #9147BF #BF47B1
triadic
#9147BF #BF9147 #47BF91
tetradic
#9147BF #BF5547 #75BF47 #47B1BF
square
#9147BF #BF5547 #75BF47 #47B1BF
split-complementary
#9147BF #B1BF47 #47BF55
monochromatic
#4E2468 #703495 #9147BF #AC74CF #C7A2DF

Accessibility & contrast

On white

5.44
#9147BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9147BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BF#FFFFFF#000000##FFFFFF
##9147BF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#8B5F7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9147bf;
/* rgb */ color: rgb(145, 71, 191);
/* oklch */ color: oklch(54.5% 0.186 310.0);
Tailwind
colors: {
  custom: {
    50: '#b57ed3',
    500: '#9147bf',
    950: '#000000',
  },
}
SCSS
$custom: #9147bf;
$custom-light: #b57ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9147bf",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 277,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.1862,
    "h": 310
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#9147BF
secondary
#ABCB96
accent
#D85084
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9147BF

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

Preview Lab → · Contrast checker → · Palette generator →

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