#8941B8#8941B8

#8941B8 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.185 H 309.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8941B8
RGBrgb(137, 65, 184)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 65%, 72%)
CMYKcmyk(25.5%, 64.7%, 0%, 27.8%)
CIE-LABlab(42.09, 51.18, -50.63)
CIE-LCHlch(42.09, 71.99, 315.31°)
OKLaboklab(52.3% 0.1168 -0.143)
OKLCHoklch(52.3% 0.185 309.2)
XYZxyz(20.8568, 12.5600, 46.6637)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B8 #70B841
analogous
#4E41B8 #8941B8 #B841AC
triadic
#8941B8 #B88941 #41B889
tetradic
#8941B8 #B84E41 #70B841 #41ACB8
square
#8941B8 #B84E41 #70B841 #41ACB8
split-complementary
#8941B8 #ACB841 #41B84E
monochromatic
#46215E #67318B #8941B8 #A56BCB #C199DB

Accessibility & contrast

On white

5.98
#8941B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8941B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B8#FFFFFF#000000##FFFFFF
##8941B81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#825977
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8941b8;
/* rgb */ color: rgb(137, 65, 184);
/* oklch */ color: oklch(52.3% 0.185 309.2);
Tailwind
colors: {
  custom: {
    50: '#af7ace',
    500: '#8941b8',
    950: '#000000',
  },
}
SCSS
$custom: #8941b8;
$custom-light: #af7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b8",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 276.303,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.18463,
    "h": 309.2
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#8941B8
secondary
#A4C78E
accent
#D75086
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8941B8

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

Preview Lab → · Contrast checker → · Palette generator →

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