#8941B5#8941B5

#8941B5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.181 H 310.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8941B5
RGBrgb(137, 65, 181)
HSLhsl(277, 47%, 48%)
HSVhsv(277, 64%, 71%)
CMYKcmyk(24.3%, 64.1%, 0%, 29%)
CIE-LABlab(41.90, 50.51, -49.17)
CIE-LCHlch(41.90, 70.49, 315.76°)
OKLaboklab(52.1% 0.117 -0.1387)
OKLCHoklch(52.1% 0.181 310.1)
XYZxyz(20.5457, 12.4356, 45.0251)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B5 #6DB541
analogous
#4F41B5 #8941B5 #B541A7
triadic
#8941B5 #B58941 #41B589
tetradic
#8941B5 #B54F41 #6DB541 #41A7B5
square
#8941B5 #B54F41 #6DB541 #41A7B5
split-complementary
#8941B5 #A7B541 #41B54F
monochromatic
#45215B #673188 #8941B5 #A56AC9 #C097DA

Accessibility & contrast

On white

6.02
#8941B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8941B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B5#FFFFFF#000000##FFFFFF
##8941B51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#3264B2
Tritanopia (blue-blind)
#835875
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8941b5;
/* rgb */ color: rgb(137, 65, 181);
/* oklch */ color: oklch(52.1% 0.181 310.1);
Tailwind
colors: {
  custom: {
    50: '#af7acc',
    500: '#8941b5',
    950: '#000000',
  },
}
SCSS
$custom: #8941b5;
$custom-light: #af7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b5",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 277.241,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.18145,
    "h": 310.1
  },
  "luminance": 0.12435
}

Semantic roles & 50–950 ramp

primary
#8941B5
secondary
#A2C58C
accent
#D75184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8941B5

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

Preview Lab → · Contrast checker → · Palette generator →

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