#8946C7#8946C7

#8946C7 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 54.0% C 0.194 H 304.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8946C7
RGBrgb(137, 70, 199)
HSLhsl(271, 54%, 53%)
HSVhsv(271, 65%, 78%)
CMYKcmyk(31.2%, 64.8%, 0%, 22%)
CIE-LABlab(43.98, 52.21, -56.34)
CIE-LCHlch(43.98, 76.81, 312.82°)
OKLaboklab(53.98% 0.11 -0.1598)
OKLCHoklch(53.98% 0.194 304.5)
XYZxyz(22.8132, 13.8223, 55.4879)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946C7 #84C746
analogous
#4946C7 #8946C7 #C746C4
triadic
#8946C7 #C78946 #46C789
tetradic
#8946C7 #C74946 #84C746 #46C4C7
square
#8946C7 #C74946 #84C746 #46C4C7
split-complementary
#8946C7 #C4C746 #46C749
monochromatic
#4B2271 #6A30A0 #8946C7 #A775D5 #C5A4E3

Accessibility & contrast

On white

5.58
#8946C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8946C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946C7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946C7#FFFFFF#000000##FFFFFF
##8946C71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#2068C4
Tritanopia (blue-blind)
#7E6280
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8946c7;
/* rgb */ color: rgb(137, 70, 199);
/* oklch */ color: oklch(54.0% 0.194 304.5);
Tailwind
colors: {
  custom: {
    50: '#b07ed9',
    500: '#8946c7',
    950: '#000000',
  },
}
SCSS
$custom: #8946c7;
$custom-light: #b07ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8946c7",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 271.163,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.19396,
    "h": 304.5
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#8946C7
secondary
#B3D098
accent
#DD4B91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8946C7

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

Preview Lab → · Contrast checker → · Palette generator →

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