#8946BD#8946BD

#8946BD is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.183 H 307.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8946BD
RGBrgb(137, 70, 189)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 63%, 74%)
CMYKcmyk(27.5%, 63%, 0%, 25.9%)
CIE-LABlab(43.32, 49.86, -51.58)
CIE-LCHlch(43.32, 71.74, 314.02°)
OKLaboklab(53.29% 0.1106 -0.1458)
OKLCHoklch(53.29% 0.183 307.2)
XYZxyz(21.6901, 13.3731, 49.5729)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946BD #7ABD46
analogous
#4E46BD #8946BD #BD46B5
triadic
#8946BD #BD8946 #46BD89
tetradic
#8946BD #BD4E46 #7ABD46 #46B5BD
square
#8946BD #BD4E46 #7ABD46 #46B5BD
split-complementary
#8946BD #B5BD46 #46BD4E
monochromatic
#482465 #693492 #8946BD #A673CD #C3A0DD

Accessibility & contrast

On white

5.71
#8946BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8946BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946BD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946BD#FFFFFF#000000##FFFFFF
##8946BD1.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#815E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8946bd;
/* rgb */ color: rgb(137, 70, 189);
/* oklch */ color: oklch(53.3% 0.183 307.2);
Tailwind
colors: {
  custom: {
    50: '#af7dd1',
    500: '#8946bd',
    950: '#000000',
  },
}
SCSS
$custom: #8946bd;
$custom-light: #af7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8946bd",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 273.782,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.18301,
    "h": 307.2
  },
  "luminance": 0.13373
}

Semantic roles & 50–950 ramp

primary
#8946BD
secondary
#ACCA95
accent
#D7518B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8946BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8946BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva