#8842DA#8842DA

#8842DA is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.219 H 300.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8842DA
RGBrgb(136, 66, 218)
HSLhsl(268, 67%, 56%)
HSVhsv(268, 70%, 85%)
CMYKcmyk(37.6%, 69.7%, 0%, 14.5%)
CIE-LABlab(44.51, 58.49, -66.42)
CIE-LCHlch(44.51, 88.51, 311.37°)
OKLaboklab(54.76% 0.1105 -0.1894)
OKLCHoklch(54.76% 0.219 300.2)
XYZxyz(24.7533, 14.1924, 67.7514)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842DA #94DA42
analogous
#4248DA #8842DA #D442DA
triadic
#8842DA #DA8842 #42DA88
tetradic
#8842DA #DA4248 #94DA42 #42DAD4
square
#8842DA #DA4248 #94DA42 #42DAD4
split-complementary
#8842DA #DAD442 #48DA42
monochromatic
#4D1A87 #6924BA #8842DA #A875E4 #C8A8EE

Accessibility & contrast

On white

5.47
#8842DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8842DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842DA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842DA#FFFFFF#000000##FFFFFF
##8842DA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#766789
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8842da;
/* rgb */ color: rgb(136, 66, 218);
/* oklch */ color: oklch(54.8% 0.219 300.2);
Tailwind
colors: {
  custom: {
    50: '#b17ce6',
    500: '#8842da',
    950: '#000000',
  },
}
SCSS
$custom: #8842da;
$custom-light: #b17ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8842da",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 267.632,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54755,
    "c": 0.21927,
    "h": 300.2
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#8842DA
secondary
#BEDB9C
accent
#EA3E9B
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8842DA

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

Preview Lab → · Contrast checker → · Palette generator →

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