#8842BA#8842BA

#8842BA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.185 H 308.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8842BA
RGBrgb(136, 66, 186)
HSLhsl(275, 48%, 49%)
HSVhsv(275, 65%, 73%)
CMYKcmyk(26.9%, 64.5%, 0%, 27.1%)
CIE-LABlab(42.27, 50.92, -51.52)
CIE-LCHlch(42.27, 72.44, 314.67°)
OKLaboklab(52.45% 0.1142 -0.1456)
OKLCHoklch(52.45% 0.185 308.1)
XYZxyz(20.9627, 12.6761, 47.7873)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842BA #74BA42
analogous
#4C42BA #8842BA #BA42B0
triadic
#8842BA #BA8842 #42BA88
tetradic
#8842BA #BA4C42 #74BA42 #42B0BA
square
#8842BA #BA4C42 #74BA42 #42B0BA
split-complementary
#8842BA #B0BA42 #42BA4C
monochromatic
#462260 #67328D #8842BA #A46ECB #C19BDB

Accessibility & contrast

On white

5.94
#8842BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8842BA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842BA#FFFFFF#000000##FFFFFF
##8842BA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#2C65B7
Tritanopia (blue-blind)
#805B78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8842ba;
/* rgb */ color: rgb(136, 66, 186);
/* oklch */ color: oklch(52.4% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#ae7bcf',
    500: '#8842ba',
    950: '#000000',
  },
}
SCSS
$custom: #8842ba;
$custom-light: #ae7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8842ba",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 275,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52445,
    "c": 0.18507,
    "h": 308.1
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#8842BA
secondary
#A7C890
accent
#D75189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8842BA

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

Preview Lab → · Contrast checker → · Palette generator →

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