#8941B2#8941B2

#8941B2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.178 H 311.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8941B2
RGBrgb(137, 65, 178)
HSLhsl(278, 47%, 48%)
HSVhsv(278, 63%, 70%)
CMYKcmyk(23%, 63.5%, 0%, 30.2%)
CIE-LABlab(41.71, 49.83, -47.71)
CIE-LCHlch(41.71, 68.99, 316.25°)
OKLaboklab(51.91% 0.1171 -0.1344)
OKLCHoklch(51.91% 0.178 311.1)
XYZxyz(20.2412, 12.3138, 43.4214)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941B2 #6AB241
analogous
#5041B2 #8941B2 #B241A2
triadic
#8941B2 #B28941 #41B289
tetradic
#8941B2 #B25041 #6AB241 #41A2B2
square
#8941B2 #B25041 #6AB241 #41A2B2
split-complementary
#8941B2 #A2B241 #41B250
monochromatic
#442058 #663185 #8941B2 #A568C8 #C095D8

Accessibility & contrast

On white

6.06
#8941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8941B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941B2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941B2#FFFFFF#000000##FFFFFF
##8941B21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB5
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#845773
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8941b2;
/* rgb */ color: rgb(137, 65, 178);
/* oklch */ color: oklch(51.9% 0.178 311.1);
Tailwind
colors: {
  custom: {
    50: '#af7aca',
    500: '#8941b2',
    950: '#000000',
  },
}
SCSS
$custom: #8941b2;
$custom-light: #af7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8941b2",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 278.23,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.17827,
    "h": 311.1
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#8941B2
secondary
#A0C48B
accent
#D65282
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8941B2

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

Preview Lab → · Contrast checker → · Palette generator →

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