#8947E4#8947E4

#8947E4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.224 H 298.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8947E4
RGBrgb(137, 71, 228)
HSLhsl(265, 74%, 59%)
HSVhsv(265, 69%, 89%)
CMYKcmyk(39.9%, 68.9%, 0%, 10.6%)
CIE-LABlab(46.21, 58.77, -69.34)
CIE-LCHlch(46.21, 90.90, 310.29°)
OKLaboklab(56.23% 0.1053 -0.198)
OKLCHoklch(56.23% 0.224 298)
XYZxyz(26.5698, 15.4259, 74.9614)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947E4 #A2E447
analogous
#4753E4 #8947E4 #D847E4
triadic
#8947E4 #E48947 #47E489
tetradic
#8947E4 #E44753 #A2E447 #47E4D8
square
#8947E4 #E44753 #A2E447 #47E4D8
split-complementary
#8947E4 #E4D847 #53E447
monochromatic
#4E179A #691ECF #8947E4 #AB7CEC #CDB2F4

Accessibility & contrast

On white

5.14
#8947E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8947E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947E4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947E4#FFFFFF#000000##FFFFFF
##8947E41.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#736D90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8947e4;
/* rgb */ color: rgb(137, 71, 228);
/* oklch */ color: oklch(56.2% 0.224 298.0);
Tailwind
colors: {
  custom: {
    50: '#b27fee',
    500: '#8947e4',
    950: '#000000',
  },
}
SCSS
$custom: #8947e4;
$custom-light: #b27fee;
$custom-dark: #000000;
JSON
{
  "hex": "#8947e4",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 265.223,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.22424,
    "h": 298
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#8947E4
secondary
#C8E2A4
accent
#F137A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8947E4

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

Preview Lab → · Contrast checker → · Palette generator →

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