#8941B9#8941B9

#8941B9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.186 H 309.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8941B9
RGBrgb(137, 65, 185)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 65%, 73%)
CMYKcmyk(25.9%, 64.9%, 0%, 27.5%)
CIE-LABlab(42.16, 51.41, -51.11)
CIE-LCHlch(42.16, 72.49, 315.17°)
OKLaboklab(52.37% 0.1168 -0.1444)
OKLCHoklch(52.37% 0.186 309)
XYZxyz(20.9620, 12.6021, 47.2177)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B9 #71B941
analogous
#4D41B9 #8941B9 #B941AD
triadic
#8941B9 #B98941 #41B989
tetradic
#8941B9 #B94D41 #71B941 #41ADB9
square
#8941B9 #B94D41 #71B941 #41ADB9
split-complementary
#8941B9 #ADB941 #41B94D
monochromatic
#46215E #67318C #8941B9 #A56CCB #C199DB

Accessibility & contrast

On white

5.97
#8941B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8941B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B9#FFFFFF#000000##FFFFFF
##8941B91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#2E64B6
Tritanopia (blue-blind)
#825A77
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8941b9;
/* rgb */ color: rgb(137, 65, 185);
/* oklch */ color: oklch(52.4% 0.186 309.0);
Tailwind
colors: {
  custom: {
    50: '#af7acf',
    500: '#8941b9',
    950: '#000000',
  },
}
SCSS
$custom: #8941b9;
$custom-light: #af7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b9",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 276,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.18569,
    "h": 309
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#8941B9
secondary
#A5C78F
accent
#D85086
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8941B9

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

Preview Lab → · Contrast checker → · Palette generator →

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