#8947C4#8947C4

#8947C4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.189 H 305.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8947C4
RGBrgb(137, 71, 196)
HSLhsl(272, 51%, 52%)
HSVhsv(272, 64%, 77%)
CMYKcmyk(30.1%, 63.8%, 0%, 23.1%)
CIE-LABlab(43.96, 51.00, -54.63)
CIE-LCHlch(43.96, 74.73, 313.03°)
OKLaboklab(53.9% 0.109 -0.1547)
OKLCHoklch(53.9% 0.189 305.2)
XYZxyz(22.5314, 13.8105, 53.6926)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947C4 #82C447
analogous
#4B47C4 #8947C4 #C447C0
triadic
#8947C4 #C48947 #47C489
tetradic
#8947C4 #C44B47 #82C447 #47C0C4
square
#8947C4 #C44B47 #82C447 #47C0C4
split-complementary
#8947C4 #C0C447 #47C44B
monochromatic
#4A236D #6A329C #8947C4 #A775D3 #C4A4E2

Accessibility & contrast

On white

5.58
#8947C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8947C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947C4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947C4#FFFFFF#000000##FFFFFF
##8947C41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#7F617F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8947c4;
/* rgb */ color: rgb(137, 71, 196);
/* oklch */ color: oklch(53.9% 0.189 305.2);
Tailwind
colors: {
  custom: {
    50: '#b07ed7',
    500: '#8947c4',
    950: '#000000',
  },
}
SCSS
$custom: #8947c4;
$custom-light: #b07ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#8947c4",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 271.68,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.1893,
    "h": 305.2
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#8947C4
secondary
#B2CF98
accent
#DB4D90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8947C4

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

Preview Lab → · Contrast checker → · Palette generator →

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