#8947BF#8947BF

#8947BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.184 H 306.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8947BF
RGBrgb(137, 71, 191)
HSLhsl(273, 48%, 51%)
HSVhsv(273, 63%, 75%)
CMYKcmyk(28.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(43.63, 49.82, -52.25)
CIE-LCHlch(43.63, 72.19, 313.64°)
OKLaboklab(53.56% 0.1093 -0.1477)
OKLCHoklch(53.56% 0.184 306.5)
XYZxyz(21.9717, 13.5866, 50.7451)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BF #7DBF47
analogous
#4D47BF #8947BF #BF47B9
triadic
#8947BF #BF8947 #47BF89
tetradic
#8947BF #BF4D47 #7DBF47 #47B9BF
square
#8947BF #BF4D47 #7DBF47 #47B9BF
split-complementary
#8947BF #B9BF47 #47BF4D
monochromatic
#492468 #693495 #8947BF #A674CF #C3A2DF

Accessibility & contrast

On white

5.65
#8947BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8947BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BF#FFFFFF#000000##FFFFFF
##8947BF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#80607C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8947bf;
/* rgb */ color: rgb(137, 71, 191);
/* oklch */ color: oklch(53.6% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#af7ed3',
    500: '#8947bf',
    950: '#000000',
  },
}
SCSS
$custom: #8947bf;
$custom-light: #af7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8947bf",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 273,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.1838,
    "h": 306.5
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#8947BF
secondary
#AECB96
accent
#D8508D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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