#8947BA#8947BA

#8947BA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.178 H 307.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8947BA
RGBrgb(137, 71, 186)
HSLhsl(274, 45%, 50%)
HSVhsv(274, 62%, 73%)
CMYKcmyk(26.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(43.32, 48.65, -49.84)
CIE-LCHlch(43.32, 69.65, 314.31°)
OKLaboklab(53.23% 0.1095 -0.1407)
OKLCHoklch(53.23% 0.178 307.9)
XYZxyz(21.4309, 13.3703, 47.8966)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947BA #78BA47
analogous
#4F47BA #8947BA #BA47B1
triadic
#8947BA #BA8947 #47BA89
tetradic
#8947BA #BA4F47 #78BA47 #47B1BA
square
#8947BA #BA4F47 #78BA47 #47B1BA
split-complementary
#8947BA #B1BA47 #47BA4F
monochromatic
#482562 #68358E #8947BA #A674CB #C2A0DB

Accessibility & contrast

On white

5.72
#8947BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8947BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947BA#FFFFFF#000000##FFFFFF
##8947BA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#825E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8947ba;
/* rgb */ color: rgb(137, 71, 186);
/* oklch */ color: oklch(53.2% 0.178 307.9);
Tailwind
colors: {
  custom: {
    50: '#af7ecf',
    500: '#8947ba',
    950: '#000000',
  },
}
SCSS
$custom: #8947ba;
$custom-light: #af7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8947ba",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 274.435,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.17828,
    "h": 307.9
  },
  "luminance": 0.1337
}

Semantic roles & 50–950 ramp

primary
#8947BA
secondary
#ABC895
accent
#D5538A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8947BA

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

Preview Lab → · Contrast checker → · Palette generator →

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