#8947D9#8947D9

#8947D9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.212 H 300.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8947D9
RGBrgb(137, 71, 217)
HSLhsl(267, 66%, 56%)
HSVhsv(267, 67%, 85%)
CMYKcmyk(36.9%, 67.3%, 0%, 14.9%)
CIE-LABlab(45.41, 56.06, -64.39)
CIE-LCHlch(45.41, 85.37, 311.05°)
OKLaboklab(55.4% 0.1069 -0.1834)
OKLCHoklch(55.4% 0.212 300.2)
XYZxyz(25.0911, 14.8344, 67.1736)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947D9 #97D947
analogous
#474ED9 #8947D9 #D247D9
triadic
#8947D9 #D98947 #47D989
tetradic
#8947D9 #D9474E #97D947 #47D9D2
square
#8947D9 #D9474E #97D947 #47D9D2
split-complementary
#8947D9 #D9D247 #4ED947
monochromatic
#4E1C89 #6A27BC #8947D9 #AA7AE3 #CAACEE

Accessibility & contrast

On white

5.29
#8947D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8947D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947D9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947D9#FFFFFF#000000##FFFFFF
##8947D91.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#77698A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8947d9;
/* rgb */ color: rgb(137, 71, 217);
/* oklch */ color: oklch(55.4% 0.212 300.2);
Tailwind
colors: {
  custom: {
    50: '#b17fe6',
    500: '#8947d9',
    950: '#000000',
  },
}
SCSS
$custom: #8947d9;
$custom-light: #b17fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8947d9",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 267.123,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.554,
    "c": 0.21232,
    "h": 300.2
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#8947D9
secondary
#C1DCA0
accent
#E93F9C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8947D9

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

Preview Lab → · Contrast checker → · Palette generator →

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