#9147BA#9147BA

#9147BA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.181 H 311.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9147BA
RGBrgb(145, 71, 186)
HSLhsl(279, 45%, 50%)
HSVhsv(279, 62%, 73%)
CMYKcmyk(22%, 61.8%, 0%, 27.1%)
CIE-LABlab(44.34, 50.57, -48.15)
CIE-LCHlch(44.34, 69.82, 316.40°)
OKLaboklab(54.19% 0.1199 -0.1355)
OKLCHoklch(54.19% 0.181 311.5)
XYZxyz(22.7916, 14.0719, 47.9604)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147BA #70BA47
analogous
#5747BA #9147BA #BA47A9
triadic
#9147BA #BA9147 #47BA91
tetradic
#9147BA #BA5747 #70BA47 #47A9BA
square
#9147BA #BA5747 #70BA47 #47A9BA
split-complementary
#9147BA #A9BA47 #47BA57
monochromatic
#4C2562 #6F358E #9147BA #AC74CB #C6A0DB

Accessibility & contrast

On white

5.51
#9147BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9147BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147BA#FFFFFF#000000##FFFFFF
##9147BA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1765BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#8C5D7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9147ba;
/* rgb */ color: rgb(145, 71, 186);
/* oklch */ color: oklch(54.2% 0.181 311.5);
Tailwind
colors: {
  custom: {
    50: '#b47ecf',
    500: '#9147ba',
    950: '#000000',
  },
}
SCSS
$custom: #9147ba;
$custom-light: #b47ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9147ba",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 278.609,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.1809,
    "h": 311.5
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#9147BA
secondary
#A7C895
accent
#D55381
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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