#8942BC#8942BC

#8942BC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.188 H 308.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8942BC
RGBrgb(137, 66, 188)
HSLhsl(275, 48%, 50%)
HSVhsv(275, 65%, 74%)
CMYKcmyk(27.1%, 64.9%, 0%, 26.3%)
CIE-LABlab(42.53, 51.61, -52.27)
CIE-LCHlch(42.53, 73.45, 314.64°)
OKLaboklab(52.7% 0.1154 -0.1478)
OKLCHoklch(52.7% 0.188 308)
XYZxyz(21.3400, 12.8459, 48.9225)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942BC #75BC42
analogous
#4C42BC #8942BC #BC42B2
triadic
#8942BC #BC8942 #42BC89
tetradic
#8942BC #BC4C42 #75BC42 #42B2BC
square
#8942BC #BC4C42 #75BC42 #42B2BC
split-complementary
#8942BC #B2BC42 #42BC4C
monochromatic
#472261 #68328F #8942BC #A56FCC #C19CDC

Accessibility & contrast

On white

5.88
#8942BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8942BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942BC
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942BC#FFFFFF#000000##FFFFFF
##8942BC1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#815B79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8942bc;
/* rgb */ color: rgb(137, 66, 188);
/* oklch */ color: oklch(52.7% 0.188 308.0);
Tailwind
colors: {
  custom: {
    50: '#af7bd1',
    500: '#8942bc',
    950: '#000000',
  },
}
SCSS
$custom: #8942bc;
$custom-light: #af7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8942bc",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 274.918,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.18751,
    "h": 308
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8942BC

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

Preview Lab → · Contrast checker → · Palette generator →

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