#8947C8#8947C8

#8947C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.194 H 304.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8947C8
RGBrgb(137, 71, 200)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 65%, 78%)
CMYKcmyk(31.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(44.23, 51.95, -56.52)
CIE-LCHlch(44.23, 76.77, 312.59°)
OKLaboklab(54.18% 0.1087 -0.1603)
OKLCHoklch(54.18% 0.194 304.2)
XYZxyz(22.9927, 13.9951, 56.1224)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947C8 #86C847
analogous
#4847C8 #8947C8 #C847C6
triadic
#8947C8 #C88947 #47C889
tetradic
#8947C8 #C84847 #86C847 #47C6C8
square
#8947C8 #C84847 #86C847 #47C6C8
split-complementary
#8947C8 #C6C847 #47C848
monochromatic
#4B2272 #6A30A2 #8947C8 #A776D6 #C5A5E4

Accessibility & contrast

On white

5.53
#8947C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8947C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947C8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947C8#FFFFFF#000000##FFFFFF
##8947C81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#7D6381
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8947c8;
/* rgb */ color: rgb(137, 71, 200);
/* oklch */ color: oklch(54.2% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8947c8',
    950: '#000000',
  },
}
SCSS
$custom: #8947c8;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8947c8",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 270.698,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.1937,
    "h": 304.2
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#8947C8
secondary
#B5D19A
accent
#DD4A92
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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