#8942CC#8942CC

#8942CC is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.205 H 303.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8942CC
RGBrgb(137, 66, 204)
HSLhsl(271, 58%, 53%)
HSVhsv(271, 68%, 80%)
CMYKcmyk(32.8%, 67.6%, 0%, 20%)
CIE-LABlab(43.62, 55.34, -59.82)
CIE-LCHlch(43.62, 81.49, 312.77°)
OKLaboklab(53.83% 0.1139 -0.17)
OKLCHoklch(53.83% 0.205 303.8)
XYZxyz(23.1613, 13.5745, 58.5150)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8942CC #85CC42
analogous
#4442CC #8942CC #CC42CA
triadic
#8942CC #CC8942 #42CC89
tetradic
#8942CC #CC4442 #85CC42 #42CACC
square
#8942CC #CC4442 #85CC42 #42CACC
split-complementary
#8942CC #CACC42 #42CC44
monochromatic
#4B1F74 #6A2CA4 #8942CC #A772D9 #C5A2E6

Accessibility & contrast

On white

5.65
#8942CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8942CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8942CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8942CC#FFFFFF#000000##FFFFFF
##8942CC1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#7C6182
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8942cc;
/* rgb */ color: rgb(137, 66, 204);
/* oklch */ color: oklch(53.8% 0.205 303.8);
Tailwind
colors: {
  custom: {
    50: '#b07bdc',
    500: '#8942cc',
    950: '#000000',
  },
}
SCSS
$custom: #8942cc;
$custom-light: #b07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8942cc",
  "rgb": {
    "r": 137,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 270.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.20458,
    "h": 303.8
  },
  "luminance": 0.13574
}

Semantic roles & 50–950 ramp

primary
#8942CC
secondary
#B4D397
accent
#E14792
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8942CC

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

Preview Lab → · Contrast checker → · Palette generator →

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