#8942C8#8942C8

#8942C8 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.200 H 304.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8942C8
RGBrgb(137, 66, 200)
HSLhsl(272, 55%, 52%)
HSVhsv(272, 67%, 78%)
CMYKcmyk(31.5%, 67%, 0%, 21.6%)
CIE-LABlab(43.34, 54.40, -57.95)
CIE-LCHlch(43.34, 79.48, 313.19°)
OKLaboklab(53.54% 0.1143 -0.1645)
OKLCHoklch(53.54% 0.2 304.8)
XYZxyz(22.6877, 13.3850, 56.0207)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942C8 #81C842
analogous
#4642C8 #8942C8 #C842C4
triadic
#8942C8 #C88942 #42C889
tetradic
#8942C8 #C84642 #81C842 #42C4C8
square
#8942C8 #C84642 #81C842 #42C4C8
split-complementary
#8942C8 #C4C842 #42C846
monochromatic
#4A206F #6A2E9F #8942C8 #A771D6 #C4A1E4

Accessibility & contrast

On white

5.71
#8942C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8942C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942C8#FFFFFF#000000##FFFFFF
##8942C81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#7D6080
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8942c8;
/* rgb */ color: rgb(137, 66, 200);
/* oklch */ color: oklch(53.5% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#b07bd9',
    500: '#8942c8',
    950: '#000000',
  },
}
SCSS
$custom: #8942c8;
$custom-light: #b07bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8942c8",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 271.791,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.20032,
    "h": 304.8
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#8942C8
secondary
#B1D096
accent
#DE4A8F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942C8

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

Preview Lab → · Contrast checker → · Palette generator →

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