#8947BE#8947BE

#8947BE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.183 H 306.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8947BE
RGBrgb(137, 71, 190)
HSLhsl(273, 48%, 51%)
HSVhsv(273, 63%, 75%)
CMYKcmyk(27.9%, 62.6%, 0%, 25.5%)
CIE-LABlab(43.57, 49.59, -51.77)
CIE-LCHlch(43.57, 71.68, 313.77°)
OKLaboklab(53.49% 0.1094 -0.1463)
OKLCHoklch(53.49% 0.183 306.8)
XYZxyz(21.8621, 13.5428, 50.1675)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BE #7CBE47
analogous
#4D47BE #8947BE #BE47B7
triadic
#8947BE #BE8947 #47BE89
tetradic
#8947BE #BE4D47 #7CBE47 #47B7BE
square
#8947BE #BE4D47 #7CBE47 #47B7BE
split-complementary
#8947BE #B7BE47 #47BE4D
monochromatic
#492466 #693494 #8947BE #A674CE #C3A1DE

Accessibility & contrast

On white

5.66
#8947BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8947BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BE#FFFFFF#000000##FFFFFF
##8947BE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#805F7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8947be;
/* rgb */ color: rgb(137, 71, 190);
/* oklch */ color: oklch(53.5% 0.183 306.8);
Tailwind
colors: {
  custom: {
    50: '#af7ed2',
    500: '#8947be',
    950: '#000000',
  },
}
SCSS
$custom: #8947be;
$custom-light: #af7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8947be",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 273.277,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.18269,
    "h": 306.8
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8947BE

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

Preview Lab → · Contrast checker → · Palette generator →

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