#8942BB#8942BB

#8942BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.186 H 308.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8942BB
RGBrgb(137, 66, 187)
HSLhsl(275, 48%, 50%)
HSVhsv(275, 65%, 73%)
CMYKcmyk(26.7%, 64.7%, 0%, 26.7%)
CIE-LABlab(42.46, 51.38, -51.79)
CIE-LCHlch(42.46, 72.95, 314.77°)
OKLaboklab(52.63% 0.1155 -0.1464)
OKLCHoklch(52.63% 0.186 308.3)
XYZxyz(21.2326, 12.8030, 48.3568)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942BB #74BB42
analogous
#4D42BB #8942BB #BB42B0
triadic
#8942BB #BB8942 #42BB89
tetradic
#8942BB #BB4D42 #74BB42 #42B0BB
square
#8942BB #BB4D42 #74BB42 #42B0BB
split-complementary
#8942BB #B0BB42 #42BB4D
monochromatic
#472261 #68328E #8942BB #A56ECC #C19CDC

Accessibility & contrast

On white

5.90
#8942BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8942BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942BB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942BB#FFFFFF#000000##FFFFFF
##8942BB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#815B79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8942bb;
/* rgb */ color: rgb(137, 66, 187);
/* oklch */ color: oklch(52.6% 0.186 308.3);
Tailwind
colors: {
  custom: {
    50: '#af7bd0',
    500: '#8942bb',
    950: '#000000',
  },
}
SCSS
$custom: #8942bb;
$custom-light: #af7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8942bb",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 275.207,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.18644,
    "h": 308.3
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#8942BB
secondary
#A8C891
accent
#D75088
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8942BB

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

Preview Lab → · Contrast checker → · Palette generator →

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