#8947B7#8947B7

#8947B7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.175 H 308.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8947B7
RGBrgb(137, 71, 183)
HSLhsl(275, 44%, 50%)
HSVhsv(275, 61%, 72%)
CMYKcmyk(25.1%, 61.2%, 0%, 28.2%)
CIE-LABlab(43.13, 47.96, -48.38)
CIE-LCHlch(43.13, 68.12, 314.75°)
OKLaboklab(53.03% 0.1096 -0.1364)
OKLCHoklch(53.03% 0.175 308.8)
XYZxyz(21.1153, 13.2441, 46.2346)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947B7 #75B747
analogous
#5147B7 #8947B7 #B747AD
triadic
#8947B7 #B78947 #47B789
tetradic
#8947B7 #B75147 #75B747 #47ADB7
square
#8947B7 #B75147 #75B747 #47ADB7
split-complementary
#8947B7 #ADB747 #47B751
monochromatic
#47255F #68368B #8947B7 #A573C9 #C19FDA

Accessibility & contrast

On white

5.76
#8947B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8947B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947B7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947B7#FFFFFF#000000##FFFFFF
##8947B71.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BB
Deuteranopia (green-blind)
#3767B4
Tritanopia (blue-blind)
#825D78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8947b7;
/* rgb */ color: rgb(137, 71, 183);
/* oklch */ color: oklch(53.0% 0.175 308.8);
Tailwind
colors: {
  custom: {
    50: '#af7ecd',
    500: '#8947b7',
    950: '#000000',
  },
}
SCSS
$custom: #8947b7;
$custom-light: #af7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8947b7",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 275.357,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.17497,
    "h": 308.8
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#8947B7
secondary
#A8C694
accent
#D45488
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8947B7

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

Preview Lab → · Contrast checker → · Palette generator →

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