#8946BB#8946BB

#8946BB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.181 H 307.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8946BB
RGBrgb(137, 70, 187)
HSLhsl(274, 46%, 50%)
HSVhsv(274, 63%, 73%)
CMYKcmyk(26.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.19, 49.39, -50.62)
CIE-LCHlch(43.19, 70.72, 314.30°)
OKLaboklab(53.16% 0.1107 -0.143)
OKLCHoklch(53.16% 0.181 307.8)
XYZxyz(21.4745, 13.2868, 48.4374)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946BB #78BB46
analogous
#4E46BB #8946BB #BB46B2
triadic
#8946BB #BB8946 #46BB89
tetradic
#8946BB #BB4E46 #78BB46 #46B2BB
square
#8946BB #BB4E46 #78BB46 #46B2BB
split-complementary
#8946BB #B2BB46 #46BB4E
monochromatic
#482462 #68358F #8946BB #A673CB #C2A0DC

Accessibility & contrast

On white

5.74
#8946BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8946BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946BB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946BB#FFFFFF#000000##FFFFFF
##8946BB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0264BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#815E7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8946bb;
/* rgb */ color: rgb(137, 70, 187);
/* oklch */ color: oklch(53.2% 0.181 307.8);
Tailwind
colors: {
  custom: {
    50: '#af7dd0',
    500: '#8946bb',
    950: '#000000',
  },
}
SCSS
$custom: #8946bb;
$custom-light: #af7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8946bb",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 274.359,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53159,
    "c": 0.18082,
    "h": 307.8
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#8946BB
secondary
#ABC894
accent
#D6528A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8946BB

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

Preview Lab → · Contrast checker → · Palette generator →

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