#8946B2#8946B2

#8946B2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.171 H 310.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8946B2
RGBrgb(137, 70, 178)
HSLhsl(277, 44%, 49%)
HSVhsv(277, 61%, 70%)
CMYKcmyk(23%, 60.7%, 0%, 30.2%)
CIE-LABlab(42.63, 47.33, -46.23)
CIE-LCHlch(42.63, 66.16, 315.67°)
OKLaboklab(52.57% 0.1109 -0.1301)
OKLCHoklch(52.57% 0.171 310.4)
XYZxyz(20.5411, 12.9135, 43.5213)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946B2 #6FB246
analogous
#5346B2 #8946B2 #B246A5
triadic
#8946B2 #B28946 #46B289
tetradic
#8946B2 #B25346 #6FB246 #46A5B2
square
#8946B2 #B25346 #6FB246 #46A5B2
split-complementary
#8946B2 #A5B246 #46B253
monochromatic
#45235A #673586 #8946B2 #A56FC6 #C19BD8

Accessibility & contrast

On white

5.86
#8946B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8946B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946B2#FFFFFF#000000##FFFFFF
##8946B21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B5
Deuteranopia (green-blind)
#3B66AF
Tritanopia (blue-blind)
#845A75
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8946b2;
/* rgb */ color: rgb(137, 70, 178);
/* oklch */ color: oklch(52.6% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#ae7dca',
    500: '#8946b2',
    950: '#000000',
  },
}
SCSS
$custom: #8946b2;
$custom-light: #ae7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8946b2",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 277.222,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.17096,
    "h": 310.4
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#8946B2
secondary
#A4C490
accent
#D35585
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8946B2

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

Preview Lab → · Contrast checker → · Palette generator →

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