#8947CD#8947CD

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

Color values

HEX#8947CD
RGBrgb(137, 71, 205)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(33.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(44.56, 53.15, -58.86)
CIE-LCHlch(44.56, 79.31, 312.08°)
OKLaboklab(54.53% 0.1083 -0.1672)
OKLCHoklch(54.53% 0.199 302.9)
XYZxyz(23.5867, 14.2326, 59.2503)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947CD #8BCD47
analogous
#4748CD #8947CD #CC47CD
triadic
#8947CD #CD8947 #47CD89
tetradic
#8947CD #CD4748 #8BCD47 #47CDCC
square
#8947CD #CD4748 #8BCD47 #47CDCC
split-complementary
#8947CD #CDCC47 #48CD47
monochromatic
#4C2179 #6A2EA9 #8947CD #A877DA #C7A7E7

Accessibility & contrast

On white

5.46
#8947CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8947CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947CD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947CD#FFFFFF#000000##FFFFFF
##8947CD1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#1469CA
Tritanopia (blue-blind)
#7C6584
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8947cd;
/* rgb */ color: rgb(137, 71, 205);
/* oklch */ color: oklch(54.5% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#b07edd',
    500: '#8947cd',
    950: '#000000',
  },
}
SCSS
$custom: #8947cd;
$custom-light: #b07edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8947cd",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 269.552,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54529,
    "c": 0.19919,
    "h": 302.9
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8947CD

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

Preview Lab → · Contrast checker → · Palette generator →

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