#8947D5#8947D5

#8947D5 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.208 H 301.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8947D5
RGBrgb(137, 71, 213)
HSLhsl(268, 63%, 56%)
HSVhsv(268, 67%, 84%)
CMYKcmyk(35.7%, 66.7%, 0%, 16.5%)
CIE-LABlab(45.12, 55.09, -62.56)
CIE-LCHlch(45.12, 83.36, 311.37°)
OKLaboklab(55.11% 0.1074 -0.1781)
OKLCHoklch(55.11% 0.208 301.1)
XYZxyz(24.5771, 14.6288, 64.4667)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947D5 #93D547
analogous
#474CD5 #8947D5 #D047D5
triadic
#8947D5 #D58947 #47D589
tetradic
#8947D5 #D5474C #93D547 #47D5D0
square
#8947D5 #D5474C #93D547 #47D5D0
split-complementary
#8947D5 #D5D047 #4CD547
monochromatic
#4D1E84 #6A29B5 #8947D5 #A979E0 #C9ABEC

Accessibility & contrast

On white

5.35
#8947D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8947D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947D5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947D5#FFFFFF#000000##FFFFFF
##8947D51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#796888
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8947d5;
/* rgb */ color: rgb(137, 71, 213);
/* oklch */ color: oklch(55.1% 0.208 301.1);
Tailwind
colors: {
  custom: {
    50: '#b17fe3',
    500: '#8947d5',
    950: '#000000',
  },
}
SCSS
$custom: #8947d5;
$custom-light: #b17fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8947d5",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 267.887,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.20795,
    "h": 301.1
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#8947D5
secondary
#BED99E
accent
#E6429A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8947D5

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

Preview Lab → · Contrast checker → · Palette generator →

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