#8842BD#8842BD

#8842BD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.188 H 307.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8842BD
RGBrgb(136, 66, 189)
HSLhsl(274, 48%, 50%)
HSVhsv(274, 65%, 74%)
CMYKcmyk(28%, 65.1%, 0%, 25.9%)
CIE-LABlab(42.47, 51.61, -52.96)
CIE-LCHlch(42.47, 73.95, 314.26°)
OKLaboklab(52.65% 0.114 -0.1499)
OKLCHoklch(52.65% 0.188 307.3)
XYZxyz(21.2849, 12.8051, 49.4846)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842BD #77BD42
analogous
#4A42BD #8842BD #BD42B5
triadic
#8842BD #BD8842 #42BD88
tetradic
#8842BD #BD4A42 #77BD42 #42B5BD
square
#8842BD #BD4A42 #77BD42 #42B5BD
split-complementary
#8842BD #B5BD42 #42BD4A
monochromatic
#472262 #673290 #8842BD #A56FCD #C19DDD

Accessibility & contrast

On white

5.90
#8842BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8842BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842BD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842BD#FFFFFF#000000##FFFFFF
##8842BD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#7F5C7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8842bd;
/* rgb */ color: rgb(136, 66, 189);
/* oklch */ color: oklch(52.6% 0.188 307.3);
Tailwind
colors: {
  custom: {
    50: '#af7bd2',
    500: '#8842bd',
    950: '#000000',
  },
}
SCSS
$custom: #8842bd;
$custom-light: #af7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8842bd",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 274.146,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.18829,
    "h": 307.3
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#8842BD
secondary
#AAC992
accent
#D8508B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8842BD

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

Preview Lab → · Contrast checker → · Palette generator →

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