#8942BE#8942BE

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

Color values

HEX#8942BE
RGBrgb(137, 66, 190)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 65%, 75%)
CMYKcmyk(27.9%, 65.3%, 0%, 25.5%)
CIE-LABlab(42.66, 52.07, -53.23)
CIE-LCHlch(42.66, 74.46, 314.37°)
OKLaboklab(52.84% 0.1152 -0.1506)
OKLCHoklch(52.84% 0.19 307.4)
XYZxyz(21.5571, 12.9328, 50.0659)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942BE #77BE42
analogous
#4B42BE #8942BE #BE42B5
triadic
#8942BE #BE8942 #42BE89
tetradic
#8942BE #BE4B42 #77BE42 #42B5BE
square
#8942BE #BE4B42 #77BE42 #42B5BE
split-complementary
#8942BE #B5BE42 #42BE4B
monochromatic
#482263 #683291 #8942BE #A570CE #C29DDD

Accessibility & contrast

On white

5.86
#8942BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8942BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942BE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942BE#FFFFFF#000000##FFFFFF
##8942BE1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#815C7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8942be;
/* rgb */ color: rgb(137, 66, 190);
/* oklch */ color: oklch(52.8% 0.190 307.4);
Tailwind
colors: {
  custom: {
    50: '#af7bd2',
    500: '#8942be',
    950: '#000000',
  },
}
SCSS
$custom: #8942be;
$custom-light: #af7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8942be",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 274.355,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52838,
    "c": 0.18964,
    "h": 307.4
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#8942BE
secondary
#AACA92
accent
#D84F8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8942BE

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

Preview Lab → · Contrast checker → · Palette generator →

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