#8842CE#8842CE

#8842CE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.206 H 302.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8842CE
RGBrgb(136, 66, 206)
HSLhsl(270, 59%, 53%)
HSVhsv(270, 68%, 81%)
CMYKcmyk(34%, 68%, 0%, 19.2%)
CIE-LABlab(43.63, 55.61, -60.95)
CIE-LCHlch(43.63, 82.51, 312.38°)
OKLaboklab(53.86% 0.1122 -0.1733)
OKLCHoklch(53.86% 0.207 302.9)
XYZxyz(23.2395, 13.5869, 59.7788)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842CE #88CE42
analogous
#4242CE #8842CE #CE42CE
triadic
#8842CE #CE8842 #42CE88
tetradic
#8842CE #CE4242 #88CE42 #42CECE
square
#8842CE #CE4242 #88CE42 #42CECE
split-complementary
#8842CE #CECE42 #42CE42
monochromatic
#4B1F77 #692BA7 #8842CE #A773DB #C5A3E7

Accessibility & contrast

On white

5.65
#8842CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8842CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842CE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842CE#FFFFFF#000000##FFFFFF
##8842CE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8842ce;
/* rgb */ color: rgb(136, 66, 206);
/* oklch */ color: oklch(53.9% 0.206 302.9);
Tailwind
colors: {
  custom: {
    50: '#b07bde',
    500: '#8842ce',
    950: '#000000',
  },
}
SCSS
$custom: #8842ce;
$custom-light: #b07bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8842ce",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53857,
    "c": 0.2065,
    "h": 302.9
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#8842CE
secondary
#B6D498
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8842CE

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

Preview Lab → · Contrast checker → · Palette generator →

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