#8947C7#8947C7

#8947C7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.193 H 304.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8947C7
RGBrgb(137, 71, 199)
HSLhsl(271, 53%, 53%)
HSVhsv(271, 64%, 78%)
CMYKcmyk(31.2%, 64.3%, 0%, 22%)
CIE-LABlab(44.16, 51.71, -56.05)
CIE-LCHlch(44.16, 76.26, 312.70°)
OKLaboklab(54.11% 0.1088 -0.1589)
OKLCHoklch(54.11% 0.193 304.4)
XYZxyz(22.8763, 13.9485, 55.5089)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947C7 #85C747
analogous
#4947C7 #8947C7 #C747C5
triadic
#8947C7 #C78947 #47C789
tetradic
#8947C7 #C74947 #85C747 #47C5C7
square
#8947C7 #C74947 #85C747 #47C5C7
split-complementary
#8947C7 #C5C747 #47C749
monochromatic
#4B2271 #6A31A0 #8947C7 #A776D5 #C5A5E4

Accessibility & contrast

On white

5.54
#8947C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8947C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947C7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947C7#FFFFFF#000000##FFFFFF
##8947C71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#7E6281
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8947c7;
/* rgb */ color: rgb(137, 71, 199);
/* oklch */ color: oklch(54.1% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8947c7',
    950: '#000000',
  },
}
SCSS
$custom: #8947c7;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8947c7",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 270.938,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54108,
    "c": 0.19261,
    "h": 304.4
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#8947C7
secondary
#B4D199
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947C7

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

Preview Lab → · Contrast checker → · Palette generator →

#8947C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva