#8946B7#8946B7

#8946B7 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.176 H 308.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8946B7
RGBrgb(137, 70, 183)
HSLhsl(276, 45%, 50%)
HSVhsv(276, 62%, 72%)
CMYKcmyk(25.1%, 61.7%, 0%, 28.2%)
CIE-LABlab(42.94, 48.47, -48.68)
CIE-LCHlch(42.94, 68.70, 314.87°)
OKLaboklab(52.9% 0.1108 -0.1373)
OKLCHoklch(52.9% 0.176 308.9)
XYZxyz(21.0522, 13.1179, 46.2135)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946B7 #74B746
analogous
#5046B7 #8946B7 #B746AD
triadic
#8946B7 #B78946 #46B789
tetradic
#8946B7 #B75046 #74B746 #46ADB7
square
#8946B7 #B75046 #74B746 #46ADB7
split-complementary
#8946B7 #ADB746 #46B750
monochromatic
#47245E #68358B #8946B7 #A571C9 #C19EDA

Accessibility & contrast

On white

5.80
#8946B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8946B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946B7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946B7#FFFFFF#000000##FFFFFF
##8946B71.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#3666B4
Tritanopia (blue-blind)
#825C78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8946b7;
/* rgb */ color: rgb(137, 70, 183);
/* oklch */ color: oklch(52.9% 0.176 308.9);
Tailwind
colors: {
  custom: {
    50: '#af7dcd',
    500: '#8946b7',
    950: '#000000',
  },
}
SCSS
$custom: #8946b7;
$custom-light: #af7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8946b7",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 275.575,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.17644,
    "h": 308.9
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#8946B7
secondary
#A8C693
accent
#D45388
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8946B7

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

Preview Lab → · Contrast checker → · Palette generator →

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