#8942BD#8942BD

#8942BD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.189 H 307.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8942BD
RGBrgb(137, 66, 189)
HSLhsl(275, 48%, 50%)
HSVhsv(275, 65%, 74%)
CMYKcmyk(27.5%, 65.1%, 0%, 25.9%)
CIE-LABlab(42.60, 51.84, -52.75)
CIE-LCHlch(42.60, 73.96, 314.50°)
OKLaboklab(52.77% 0.1153 -0.1492)
OKLCHoklch(52.77% 0.189 307.7)
XYZxyz(21.4482, 12.8892, 49.4922)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942BD #76BD42
analogous
#4C42BD #8942BD #BD42B3
triadic
#8942BD #BD8942 #42BD89
tetradic
#8942BD #BD4C42 #76BD42 #42B3BD
square
#8942BD #BD4C42 #76BD42 #42B3BD
split-complementary
#8942BD #B3BD42 #42BD4C
monochromatic
#472262 #683290 #8942BD #A56FCD #C29DDD

Accessibility & contrast

On white

5.87
#8942BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8942BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942BD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942BD#FFFFFF#000000##FFFFFF
##8942BD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#815C7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8942bd;
/* rgb */ color: rgb(137, 66, 189);
/* oklch */ color: oklch(52.8% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#af7bd2',
    500: '#8942bd',
    950: '#000000',
  },
}
SCSS
$custom: #8942bd;
$custom-light: #af7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8942bd",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 274.634,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.18857,
    "h": 307.7
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#8942BD
secondary
#A9C992
accent
#D85089
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8942BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8942BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva