#8842CC#8842CC

#8842CC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.204 H 303.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8842CC
RGBrgb(136, 66, 204)
HSLhsl(270, 58%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(33.3%, 67.6%, 0%, 20%)
CIE-LABlab(43.49, 55.13, -60.02)
CIE-LCHlch(43.49, 81.50, 312.57°)
OKLaboklab(53.71% 0.1125 -0.1706)
OKLCHoklch(53.71% 0.204 303.4)
XYZxyz(22.9981, 13.4903, 58.5073)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842CC #86CC42
analogous
#4342CC #8842CC #CC42CB
triadic
#8842CC #CC8842 #42CC88
tetradic
#8842CC #CC4342 #86CC42 #42CBCC
square
#8842CC #CC4342 #86CC42 #42CBCC
split-complementary
#8842CC #CBCC42 #42CC43
monochromatic
#4A1F74 #692CA4 #8842CC #A672D9 #C5A2E6

Accessibility & contrast

On white

5.68
#8842CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8842CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842CC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842CC#FFFFFF#000000##FFFFFF
##8842CC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8842cc;
/* rgb */ color: rgb(136, 66, 204);
/* oklch */ color: oklch(53.7% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#b07bdc',
    500: '#8842cc',
    950: '#000000',
  },
}
SCSS
$custom: #8842cc;
$custom-light: #b07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8842cc",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 270.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.20436,
    "h": 303.4
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8842CC

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

Preview Lab → · Contrast checker → · Palette generator →

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