#8946BC#8946BC

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

Color values

HEX#8946BC
RGBrgb(137, 70, 188)
HSLhsl(274, 47%, 51%)
HSVhsv(274, 63%, 74%)
CMYKcmyk(27.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.26, 49.62, -51.10)
CIE-LCHlch(43.26, 71.23, 314.16°)
OKLaboklab(53.23% 0.1107 -0.1444)
OKLCHoklch(53.23% 0.182 307.5)
XYZxyz(21.5819, 13.3298, 49.0032)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946BC #79BC46
analogous
#4E46BC #8946BC #BC46B4
triadic
#8946BC #BC8946 #46BC89
tetradic
#8946BC #BC4E46 #79BC46 #46B4BC
square
#8946BC #BC4E46 #79BC46 #46B4BC
split-complementary
#8946BC #B4BC46 #46BC4E
monochromatic
#482464 #693490 #8946BC #A673CC #C2A0DD

Accessibility & contrast

On white

5.73
#8946BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8946BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946BC#FFFFFF#000000##FFFFFF
##8946BC1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#3067B9
Tritanopia (blue-blind)
#815E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8946bc;
/* rgb */ color: rgb(137, 70, 188);
/* oklch */ color: oklch(53.2% 0.182 307.5);
Tailwind
colors: {
  custom: {
    50: '#af7dd1',
    500: '#8946bc',
    950: '#000000',
  },
}
SCSS
$custom: #8946bc;
$custom-light: #af7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8946bc",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 274.068,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.18191,
    "h": 307.5
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#8946BC
secondary
#ABC995
accent
#D6518B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8946BC

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

Preview Lab → · Contrast checker → · Palette generator →

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