#8947BD#8947BD

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

Color values

HEX#8947BD
RGBrgb(137, 71, 189)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 62%, 74%)
CMYKcmyk(27.5%, 62.4%, 0%, 25.9%)
CIE-LABlab(43.51, 49.35, -51.28)
CIE-LCHlch(43.51, 71.17, 313.90°)
OKLaboklab(53.43% 0.1094 -0.1449)
OKLCHoklch(53.43% 0.182 307)
XYZxyz(21.7532, 13.4992, 49.5939)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BD #7BBD47
analogous
#4E47BD #8947BD #BD47B6
triadic
#8947BD #BD8947 #47BD89
tetradic
#8947BD #BD4E47 #7BBD47 #47B6BD
square
#8947BD #BD4E47 #7BBD47 #47B6BD
split-complementary
#8947BD #B6BD47 #47BD4E
monochromatic
#492465 #693492 #8947BD #A674CD #C3A1DD

Accessibility & contrast

On white

5.68
#8947BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8947BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BD#FFFFFF#000000##FFFFFF
##8947BD1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0164C1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8947bd;
/* rgb */ color: rgb(137, 71, 189);
/* oklch */ color: oklch(53.4% 0.182 307.0);
Tailwind
colors: {
  custom: {
    50: '#af7ed1',
    500: '#8947bd',
    950: '#000000',
  },
}
SCSS
$custom: #8947bd;
$custom-light: #af7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8947bd",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 273.559,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.18159,
    "h": 307
  },
  "luminance": 0.13499
}

Semantic roles & 50–950 ramp

primary
#8947BD
secondary
#ADCA96
accent
#D7518C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8947BD

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

Preview Lab → · Contrast checker → · Palette generator →

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