#8941B1#8941B1

#8941B1 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.177 H 311.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8941B1
RGBrgb(137, 65, 177)
HSLhsl(279, 46%, 47%)
HSVhsv(279, 63%, 69%)
CMYKcmyk(22.6%, 63.3%, 0%, 30.6%)
CIE-LABlab(41.65, 49.61, -47.22)
CIE-LCHlch(41.65, 68.49, 316.41°)
OKLaboklab(51.84% 0.1171 -0.133)
OKLCHoklch(51.84% 0.177 311.4)
XYZxyz(20.1412, 12.2738, 42.8945)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B1 #69B141
analogous
#5141B1 #8941B1 #B141A1
triadic
#8941B1 #B18941 #41B189
tetradic
#8941B1 #B15141 #69B141 #41A1B1
square
#8941B1 #B15141 #69B141 #41A1B1
split-complementary
#8941B1 #A1B141 #41B151
monochromatic
#442057 #663184 #8941B1 #A568C7 #C095D8

Accessibility & contrast

On white

6.08
#8941B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8941B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B1#FFFFFF#000000##FFFFFF
##8941B11.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB4
Deuteranopia (green-blind)
#3664AE
Tritanopia (blue-blind)
#845773
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8941b1;
/* rgb */ color: rgb(137, 65, 177);
/* oklch */ color: oklch(51.8% 0.177 311.4);
Tailwind
colors: {
  custom: {
    50: '#af7ac9',
    500: '#8941b1',
    950: '#000000',
  },
}
SCSS
$custom: #8941b1;
$custom-light: #af7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b1",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 278.571,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.1772,
    "h": 311.4
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#8941B1
secondary
#9FC38A
accent
#D65281
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8941B1

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

Preview Lab → · Contrast checker → · Palette generator →

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