#8842D8#8842D8

#8842D8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.217 H 300.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8842D8
RGBrgb(136, 66, 216)
HSLhsl(268, 66%, 55%)
HSVhsv(268, 69%, 85%)
CMYKcmyk(37%, 69.4%, 0%, 15.3%)
CIE-LABlab(44.36, 58.01, -65.52)
CIE-LCHlch(44.36, 87.51, 311.52°)
OKLaboklab(54.6% 0.1108 -0.1868)
OKLCHoklch(54.6% 0.217 300.7)
XYZxyz(24.4932, 14.0884, 66.3814)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842D8 #92D842
analogous
#4247D8 #8842D8 #D342D8
triadic
#8842D8 #D88842 #42D888
tetradic
#8842D8 #D84247 #92D842 #42D8D3
square
#8842D8 #D84247 #92D842 #42D8D3
split-complementary
#8842D8 #D8D342 #47D842
monochromatic
#4C1B84 #6A26B7 #8842D8 #A875E2 #C8A7ED

Accessibility & contrast

On white

5.50
#8842D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8842D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842D8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842D8#FFFFFF#000000##FFFFFF
##8842D81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#766688
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8842d8;
/* rgb */ color: rgb(136, 66, 216);
/* oklch */ color: oklch(54.6% 0.217 300.7);
Tailwind
colors: {
  custom: {
    50: '#b17ce5',
    500: '#8842d8',
    950: '#000000',
  },
}
SCSS
$custom: #8842d8;
$custom-light: #b17ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8842d8",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 268,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21715,
    "h": 300.7
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#8842D8
secondary
#BDDA9C
accent
#E93F9A
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8842D8

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

Preview Lab → · Contrast checker → · Palette generator →

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