#9147A6#9147A6

#9147A6 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.0% C 0.160 H 318.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9147A6
RGBrgb(145, 71, 166)
HSLhsl(287, 40%, 46%)
HSVhsv(287, 57%, 65%)
CMYKcmyk(12.7%, 57.2%, 0%, 34.9%)
CIE-LABlab(43.18, 46.27, -38.20)
CIE-LCHlch(43.18, 60.00, 320.46°)
OKLaboklab(52.98% 0.1194 -0.1064)
OKLCHoklch(52.98% 0.16 318.3)
XYZxyz(20.8123, 13.2802, 37.5360)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9147A6 #5CA647
analogous
#6247A6 #9147A6 #A6478C
triadic
#9147A6 #A69147 #47A691
tetradic
#9147A6 #A66247 #5CA647 #478CA6
square
#9147A6 #A66247 #5CA647 #478CA6
split-complementary
#9147A6 #8CA647 #47A662
monochromatic
#462250 #6C357B #9147A6 #AD6BC0 #C596D2

Accessibility & contrast

On white

5.74
#9147A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9147A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9147A6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9147A6#FFFFFF#000000##FFFFFF
##9147A61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#4B68A4
Tritanopia (blue-blind)
#915670
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9147a6;
/* rgb */ color: rgb(145, 71, 166);
/* oklch */ color: oklch(53.0% 0.160 318.3);
Tailwind
colors: {
  custom: {
    50: '#b47ec1',
    500: '#9147a6',
    950: '#000000',
  },
}
SCSS
$custom: #9147a6;
$custom-light: #b47ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9147a6",
  "rgb": {
    "r": 145,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 286.737,
    "s": 40.084,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.15992,
    "h": 318.3
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#9147A6
secondary
#96BE8B
accent
#D05872
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #9147A6

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

Preview Lab → · Contrast checker → · Palette generator →

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