#8842CD#8842CD

#8842CD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.205 H 303.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8842CD
RGBrgb(136, 66, 205)
HSLhsl(270, 58%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(33.7%, 67.8%, 0%, 19.6%)
CIE-LABlab(43.56, 55.37, -60.49)
CIE-LCHlch(43.56, 82.00, 312.47°)
OKLaboklab(53.78% 0.1124 -0.172)
OKLCHoklch(53.78% 0.205 303.2)
XYZxyz(23.1184, 13.5385, 59.1410)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842CD #87CD42
analogous
#4242CD #8842CD #CD42CC
triadic
#8842CD #CD8842 #42CD88
tetradic
#8842CD #CD4242 #87CD42 #42CCCD
square
#8842CD #CD4242 #87CD42 #42CCCD
split-complementary
#8842CD #CCCD42 #42CD42
monochromatic
#4B1F76 #692CA6 #8842CD #A672DA #C5A3E7

Accessibility & contrast

On white

5.66
#8842CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8842CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842CD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842CD#FFFFFF#000000##FFFFFF
##8842CD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0067CA
Tritanopia (blue-blind)
#7A6282
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8842cd;
/* rgb */ color: rgb(136, 66, 205);
/* oklch */ color: oklch(53.8% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#b07bdd',
    500: '#8842cd',
    950: '#000000',
  },
}
SCSS
$custom: #8842cd;
$custom-light: #b07bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8842cd",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 270.216,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.20543,
    "h": 303.2
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#8842CD
secondary
#B5D397
accent
#E14693
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8842CD

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

Preview Lab → · Contrast checker → · Palette generator →

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