#8842D7#8842D7

#8842D7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.216 H 300.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8842D7
RGBrgb(136, 66, 215)
HSLhsl(268, 65%, 55%)
HSVhsv(268, 69%, 84%)
CMYKcmyk(36.7%, 69.3%, 0%, 15.7%)
CIE-LABlab(44.29, 57.77, -65.07)
CIE-LCHlch(44.29, 87.01, 311.60°)
OKLaboklab(54.53% 0.1109 -0.1854)
OKLCHoklch(54.53% 0.216 300.9)
XYZxyz(24.3643, 14.0368, 65.7026)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842D7 #91D742
analogous
#4246D7 #8842D7 #D342D7
triadic
#8842D7 #D78842 #42D788
tetradic
#8842D7 #D74246 #91D742 #42D7D3
square
#8842D7 #D74246 #91D742 #42D7D3
split-complementary
#8842D7 #D7D342 #46D742
monochromatic
#4C1C83 #6A26B5 #8842D7 #A875E2 #C8A7EC

Accessibility & contrast

On white

5.52
#8842D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8842D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842D7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842D7#FFFFFF#000000##FFFFFF
##8842D71.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#776688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8842d7;
/* rgb */ color: rgb(136, 66, 215);
/* oklch */ color: oklch(54.5% 0.216 300.9);
Tailwind
colors: {
  custom: {
    50: '#b17ce4',
    500: '#8842d7',
    950: '#000000',
  },
}
SCSS
$custom: #8842d7;
$custom-light: #b17ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8842d7",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 268.188,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.21609,
    "h": 300.9
  },
  "luminance": 0.14037
}

Semantic roles & 50–950 ramp

primary
#8842D7
secondary
#BCDA9B
accent
#E84099
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8842D7

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

Preview Lab → · Contrast checker → · Palette generator →

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