#9147BE#9147BE

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

Color values

HEX#9147BE
RGBrgb(145, 71, 190)
HSLhsl(277, 48%, 51%)
HSVhsv(277, 63%, 75%)
CMYKcmyk(23.7%, 62.6%, 0%, 25.5%)
CIE-LABlab(44.58, 51.45, -50.09)
CIE-LCHlch(44.58, 71.81, 315.77°)
OKLaboklab(54.45% 0.1198 -0.1412)
OKLCHoklch(54.45% 0.185 310.3)
XYZxyz(23.2228, 14.2444, 50.2313)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BE #74BE47
analogous
#5547BE #9147BE #BE47AF
triadic
#9147BE #BE9147 #47BE91
tetradic
#9147BE #BE5547 #74BE47 #47AFBE
square
#9147BE #BE5547 #74BE47 #47AFBE
split-complementary
#9147BE #AFBE47 #47BE55
monochromatic
#4D2466 #703494 #9147BE #AC74CE #C7A1DE

Accessibility & contrast

On white

5.46
#9147BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9147BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BE#FFFFFF#000000##FFFFFF
##9147BE1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#396BBB
Tritanopia (blue-blind)
#8B5E7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9147be;
/* rgb */ color: rgb(145, 71, 190);
/* oklch */ color: oklch(54.4% 0.185 310.3);
Tailwind
colors: {
  custom: {
    50: '#b57ed2',
    500: '#9147be',
    950: '#000000',
  },
}
SCSS
$custom: #9147be;
$custom-light: #b57ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9147be",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 277.311,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.18513,
    "h": 310.3
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

primary
#9147BE
secondary
#AACB96
accent
#D75083
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9147BE

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

Preview Lab → · Contrast checker → · Palette generator →

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