#8946BA#8946BA

#8946BA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.180 H 308.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8946BA
RGBrgb(137, 70, 186)
HSLhsl(275, 46%, 50%)
HSVhsv(275, 62%, 73%)
CMYKcmyk(26.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(43.13, 49.16, -50.14)
CIE-LCHlch(43.13, 70.22, 314.44°)
OKLaboklab(53.09% 0.1107 -0.1416)
OKLCHoklch(53.09% 0.18 308)
XYZxyz(21.3678, 13.2442, 47.8756)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946BA #77BA46
analogous
#4F46BA #8946BA #BA46B1
triadic
#8946BA #BA8946 #46BA89
tetradic
#8946BA #BA4F46 #77BA46 #46B1BA
square
#8946BA #BA4F46 #77BA46 #46B1BA
split-complementary
#8946BA #B1BA46 #46BA4F
monochromatic
#482461 #68358E #8946BA #A573CB #C29FDB

Accessibility & contrast

On white

5.76
#8946BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8946BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946BA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946BA#FFFFFF#000000##FFFFFF
##8946BA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0663BE
Deuteranopia (green-blind)
#3367B7
Tritanopia (blue-blind)
#825D79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8946ba;
/* rgb */ color: rgb(137, 70, 186);
/* oklch */ color: oklch(53.1% 0.180 308.0);
Tailwind
colors: {
  custom: {
    50: '#af7dcf',
    500: '#8946ba',
    950: '#000000',
  },
}
SCSS
$custom: #8946ba;
$custom-light: #af7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8946ba",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 274.655,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.17972,
    "h": 308
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#8946BA
secondary
#AAC894
accent
#D5528A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8946BA

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

Preview Lab → · Contrast checker → · Palette generator →

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