#8942BF#8942BF

#8942BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.191 H 307.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8942BF
RGBrgb(137, 66, 191)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 65%, 75%)
CMYKcmyk(28.3%, 65.4%, 0%, 25.1%)
CIE-LABlab(42.73, 52.30, -53.70)
CIE-LCHlch(42.73, 74.96, 314.24°)
OKLaboklab(52.91% 0.1152 -0.152)
OKLCHoklch(52.91% 0.191 307.1)
XYZxyz(21.6667, 12.9766, 50.6434)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942BF #78BF42
analogous
#4A42BF #8942BF #BF42B6
triadic
#8942BF #BF8942 #42BF89
tetradic
#8942BF #BF4A42 #78BF42 #42B6BF
square
#8942BF #BF4A42 #78BF42 #42B6BF
split-complementary
#8942BF #B6BF42 #42BF4A
monochromatic
#482265 #683292 #8942BF #A670CE #C29DDE

Accessibility & contrast

On white

5.84
#8942BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8942BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942BF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942BF#FFFFFF#000000##FFFFFF
##8942BF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#805C7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8942bf;
/* rgb */ color: rgb(137, 66, 191);
/* oklch */ color: oklch(52.9% 0.191 307.1);
Tailwind
colors: {
  custom: {
    50: '#af7bd3',
    500: '#8942bf',
    950: '#000000',
  },
}
SCSS
$custom: #8942bf;
$custom-light: #af7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8942bf",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 274.08,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.19071,
    "h": 307.1
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#8942BF
secondary
#ABCA93
accent
#D94F8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8942BF

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

Preview Lab → · Contrast checker → · Palette generator →

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