#8947BB#8947BB

#8947BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.179 H 307.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8947BB
RGBrgb(137, 71, 187)
HSLhsl(274, 46%, 51%)
HSVhsv(274, 62%, 73%)
CMYKcmyk(26.7%, 62%, 0%, 26.7%)
CIE-LABlab(43.38, 48.88, -50.32)
CIE-LCHlch(43.38, 70.16, 314.17°)
OKLaboklab(53.3% 0.1095 -0.1421)
OKLCHoklch(53.3% 0.179 307.6)
XYZxyz(21.5376, 13.4130, 48.4584)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BB #79BB47
analogous
#4F47BB #8947BB #BB47B3
triadic
#8947BB #BB8947 #47BB89
tetradic
#8947BB #BB4F47 #79BB47 #47B3BB
square
#8947BB #BB4F47 #79BB47 #47B3BB
split-complementary
#8947BB #B3BB47 #47BB4F
monochromatic
#482563 #693590 #8947BB #A674CC #C2A0DC

Accessibility & contrast

On white

5.70
#8947BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8947BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BB#FFFFFF#000000##FFFFFF
##8947BB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#815E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8947bb;
/* rgb */ color: rgb(137, 71, 187);
/* oklch */ color: oklch(53.3% 0.179 307.6);
Tailwind
colors: {
  custom: {
    50: '#af7ed0',
    500: '#8947bb',
    950: '#000000',
  },
}
SCSS
$custom: #8947bb;
$custom-light: #af7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8947bb",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 274.138,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.17938,
    "h": 307.6
  },
  "luminance": 0.13413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8947BB

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

Preview Lab → · Contrast checker → · Palette generator →

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