#8942CE#8942CE

#8942CE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.207 H 303.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8942CE
RGBrgb(137, 66, 206)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 68%, 81%)
CMYKcmyk(33.5%, 68%, 0%, 19.2%)
CIE-LABlab(43.76, 55.81, -60.74)
CIE-LCHlch(43.76, 82.49, 312.58°)
OKLaboklab(53.97% 0.1136 -0.1727)
OKLCHoklch(53.97% 0.207 303.3)
XYZxyz(23.4027, 13.6710, 59.7864)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942CE #87CE42
analogous
#4342CE #8942CE #CE42CD
triadic
#8942CE #CE8942 #42CE89
tetradic
#8942CE #CE4342 #87CE42 #42CDCE
square
#8942CE #CE4342 #87CE42 #42CDCE
split-complementary
#8942CE #CDCE42 #42CE43
monochromatic
#4B1F77 #6A2BA7 #8942CE #A773DB #C6A3E7

Accessibility & contrast

On white

5.62
#8942CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8942CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942CE#FFFFFF#000000##FFFFFF
##8942CE1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#7B6283
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8942ce;
/* rgb */ color: rgb(137, 66, 206);
/* oklch */ color: oklch(54.0% 0.207 303.3);
Tailwind
colors: {
  custom: {
    50: '#b17bde',
    500: '#8942ce',
    950: '#000000',
  },
}
SCSS
$custom: #8942ce;
$custom-light: #b17bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8942ce",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 270.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.20671,
    "h": 303.3
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#8942CE
secondary
#B5D498
accent
#E24693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942CE

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

Preview Lab → · Contrast checker → · Palette generator →

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