#8842BB#8842BB

#8842BB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.186 H 307.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8842BB
RGBrgb(136, 66, 187)
HSLhsl(275, 48%, 50%)
HSVhsv(275, 65%, 73%)
CMYKcmyk(27.3%, 64.7%, 0%, 26.7%)
CIE-LABlab(42.34, 51.15, -52.00)
CIE-LCHlch(42.34, 72.95, 314.53°)
OKLaboklab(52.51% 0.1141 -0.147)
OKLCHoklch(52.51% 0.186 307.8)
XYZxyz(21.0694, 12.7188, 48.3491)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842BB #75BB42
analogous
#4C42BB #8842BB #BB42B1
triadic
#8842BB #BB8842 #42BB88
tetradic
#8842BB #BB4C42 #75BB42 #42B1BB
square
#8842BB #BB4C42 #75BB42 #42B1BB
split-complementary
#8842BB #B1BB42 #42BB4C
monochromatic
#462261 #67328E #8842BB #A46ECC #C19CDC

Accessibility & contrast

On white

5.93
#8842BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8842BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842BB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842BB#FFFFFF#000000##FFFFFF
##8842BB1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#805B79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8842bb;
/* rgb */ color: rgb(136, 66, 187);
/* oklch */ color: oklch(52.5% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#af7bd0',
    500: '#8842bb',
    950: '#000000',
  },
}
SCSS
$custom: #8842bb;
$custom-light: #af7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8842bb",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 274.711,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.18615,
    "h": 307.8
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#8842BB
secondary
#A8C891
accent
#D75089
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8842BB

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

Preview Lab → · Contrast checker → · Palette generator →

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