#8947D4#8947D4

#8947D4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.207 H 301.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8947D4
RGBrgb(137, 71, 212)
HSLhsl(268, 62%, 55%)
HSVhsv(268, 67%, 83%)
CMYKcmyk(35.4%, 66.5%, 0%, 16.9%)
CIE-LABlab(45.05, 54.84, -62.10)
CIE-LCHlch(45.05, 82.85, 311.45°)
OKLaboklab(55.03% 0.1076 -0.1767)
OKLCHoklch(55.03% 0.207 301.3)
XYZxyz(24.4506, 14.5782, 63.8003)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8947D4 #92D447
analogous
#474BD4 #8947D4 #D047D4
triadic
#8947D4 #D48947 #47D489
tetradic
#8947D4 #D4474B #92D447 #47D4D0
square
#8947D4 #D4474B #92D447 #47D4D0
split-complementary
#8947D4 #D4D047 #4BD447
monochromatic
#4D1E82 #6B2AB4 #8947D4 #A979E0 #C9AAEB

Accessibility & contrast

On white

5.36
#8947D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8947D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8947D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8947D4#FFFFFF#000000##FFFFFF
##8947D41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#796788
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8947d4;
/* rgb */ color: rgb(137, 71, 212);
/* oklch */ color: oklch(55.0% 0.207 301.3);
Tailwind
colors: {
  custom: {
    50: '#b17fe2',
    500: '#8947d4',
    950: '#000000',
  },
}
SCSS
$custom: #8947d4;
$custom-light: #b17fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8947d4",
  "rgb": {
    "r": 137,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 268.085,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.20686,
    "h": 301.3
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#8947D4
secondary
#BDD99E
accent
#E54399
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8947D4

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

Preview Lab → · Contrast checker → · Palette generator →

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