#8947CC#8947CC

#8947CC is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.198 H 303.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8947CC
RGBrgb(137, 71, 204)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(32.8%, 65.2%, 0%, 20%)
CIE-LABlab(44.50, 52.91, -58.39)
CIE-LCHlch(44.50, 78.80, 312.18°)
OKLaboklab(54.46% 0.1084 -0.1658)
OKLCHoklch(54.46% 0.198 303.2)
XYZxyz(23.4663, 14.1845, 58.6166)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947CC #8ACC47
analogous
#4748CC #8947CC #CB47CC
triadic
#8947CC #CC8947 #47CC89
tetradic
#8947CC #CC4748 #8ACC47 #47CCCB
square
#8947CC #CC4748 #8ACC47 #47CCCB
split-complementary
#8947CC #CCCB47 #48CC47
monochromatic
#4C2177 #6A2EA7 #8947CC #A877D9 #C6A7E7

Accessibility & contrast

On white

5.47
#8947CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8947CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947CC#FFFFFF#000000##FFFFFF
##8947CC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1769C9
Tritanopia (blue-blind)
#7C6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8947cc;
/* rgb */ color: rgb(137, 71, 204);
/* oklch */ color: oklch(54.5% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#b07edc',
    500: '#8947cc',
    950: '#000000',
  },
}
SCSS
$custom: #8947cc;
$custom-light: #b07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8947cc",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 269.774,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.19809,
    "h": 303.2
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#8947CC
secondary
#B8D49B
accent
#E04894
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8947CC

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

Preview Lab → · Contrast checker → · Palette generator →

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