#9147BC#9147BC

#9147BC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.183 H 310.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9147BC
RGBrgb(145, 71, 188)
HSLhsl(278, 47%, 51%)
HSVhsv(278, 62%, 74%)
CMYKcmyk(22.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(44.46, 51.01, -49.12)
CIE-LCHlch(44.46, 70.81, 316.08°)
OKLaboklab(54.32% 0.1198 -0.1383)
OKLCHoklch(54.32% 0.183 310.9)
XYZxyz(23.0057, 14.1576, 49.0880)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BC #72BC47
analogous
#5647BC #9147BC #BC47AC
triadic
#9147BC #BC9147 #47BC91
tetradic
#9147BC #BC5647 #72BC47 #47ACBC
square
#9147BC #BC5647 #72BC47 #47ACBC
split-complementary
#9147BC #ACBC47 #47BC56
monochromatic
#4D2464 #6F3591 #9147BC #AC74CC #C7A1DD

Accessibility & contrast

On white

5.48
#9147BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9147BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BC#FFFFFF#000000##FFFFFF
##9147BC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#8C5D7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9147bc;
/* rgb */ color: rgb(145, 71, 188);
/* oklch */ color: oklch(54.3% 0.183 310.9);
Tailwind
colors: {
  custom: {
    50: '#b57ed1',
    500: '#9147bc',
    950: '#000000',
  },
}
SCSS
$custom: #9147bc;
$custom-light: #b57ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9147bc",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 277.949,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.18301,
    "h": 310.9
  },
  "luminance": 0.14157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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