#8941B7#8941B7

#8941B7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.184 H 309.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8941B7
RGBrgb(137, 65, 183)
HSLhsl(277, 48%, 49%)
HSVhsv(277, 64%, 72%)
CMYKcmyk(25.1%, 64.5%, 0%, 28.2%)
CIE-LABlab(42.03, 50.96, -50.15)
CIE-LCHlch(42.03, 71.49, 315.46°)
OKLaboklab(52.24% 0.1169 -0.1416)
OKLCHoklch(52.24% 0.184 309.5)
XYZxyz(20.7524, 12.5182, 46.1136)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B7 #6FB741
analogous
#4E41B7 #8941B7 #B741AA
triadic
#8941B7 #B78941 #41B789
tetradic
#8941B7 #B74E41 #6FB741 #41AAB7
square
#8941B7 #B74E41 #6FB741 #41AAB7
split-complementary
#8941B7 #AAB741 #41B74E
monochromatic
#45215D #67318A #8941B7 #A56BCA #C198DA

Accessibility & contrast

On white

5.99
#8941B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8941B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B7#FFFFFF#000000##FFFFFF
##8941B71.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#835976
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8941b7;
/* rgb */ color: rgb(137, 65, 183);
/* oklch */ color: oklch(52.2% 0.184 309.5);
Tailwind
colors: {
  custom: {
    50: '#af7acd',
    500: '#8941b7',
    950: '#000000',
  },
}
SCSS
$custom: #8941b7;
$custom-light: #af7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b7",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 276.61,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.18357,
    "h": 309.5
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#8941B7
secondary
#A4C68E
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8941B7

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

Preview Lab → · Contrast checker → · Palette generator →

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