#8947BC#8947BC

#8947BC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.180 H 307.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8947BC
RGBrgb(137, 71, 188)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 62%, 74%)
CMYKcmyk(27.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(43.44, 49.12, -50.80)
CIE-LCHlch(43.44, 70.67, 314.03°)
OKLaboklab(53.36% 0.1094 -0.1435)
OKLCHoklch(53.36% 0.18 307.3)
XYZxyz(21.6450, 13.4559, 49.0242)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BC #7ABC47
analogous
#4E47BC #8947BC #BC47B5
triadic
#8947BC #BC8947 #47BC89
tetradic
#8947BC #BC4E47 #7ABC47 #47B5BC
square
#8947BC #BC4E47 #7ABC47 #47B5BC
split-complementary
#8947BC #B5BC47 #47BC4E
monochromatic
#482464 #693591 #8947BC #A674CC #C3A1DD

Accessibility & contrast

On white

5.69
#8947BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8947BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BC#FFFFFF#000000##FFFFFF
##8947BC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8947bc;
/* rgb */ color: rgb(137, 71, 188);
/* oklch */ color: oklch(53.4% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#af7ed1',
    500: '#8947bc',
    950: '#000000',
  },
}
SCSS
$custom: #8947bc;
$custom-light: #af7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8947bc",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 273.846,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53361,
    "c": 0.18048,
    "h": 307.3
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#8947BC
secondary
#ACC995
accent
#D6528B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8947BC

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

Preview Lab → · Contrast checker → · Palette generator →

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