#8842BE#8842BE

#8842BE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.189 H 307.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8842BE
RGBrgb(136, 66, 190)
HSLhsl(274, 49%, 50%)
HSVhsv(274, 65%, 75%)
CMYKcmyk(28.4%, 65.3%, 0%, 25.5%)
CIE-LABlab(42.53, 51.85, -53.44)
CIE-LCHlch(42.53, 74.46, 314.13°)
OKLaboklab(52.72% 0.1139 -0.1513)
OKLCHoklch(52.72% 0.189 307)
XYZxyz(21.3939, 12.8486, 50.0582)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842BE #78BE42
analogous
#4A42BE #8842BE #BE42B6
triadic
#8842BE #BE8842 #42BE88
tetradic
#8842BE #BE4A42 #78BE42 #42B6BE
square
#8842BE #BE4A42 #78BE42 #42B6BE
split-complementary
#8842BE #B6BE42 #42BE4A
monochromatic
#472263 #683291 #8842BE #A570CE #C19DDD

Accessibility & contrast

On white

5.88
#8842BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8842BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842BE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842BE#FFFFFF#000000##FFFFFF
##8842BE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2765BB
Tritanopia (blue-blind)
#7F5C7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8842be;
/* rgb */ color: rgb(136, 66, 190);
/* oklch */ color: oklch(52.7% 0.189 307.0);
Tailwind
colors: {
  custom: {
    50: '#af7bd2',
    500: '#8842be',
    950: '#000000',
  },
}
SCSS
$custom: #8842be;
$custom-light: #af7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8842be",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 273.871,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.18936,
    "h": 307
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#8842BE
secondary
#AACA92
accent
#D84F8B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8842BE

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

Preview Lab → · Contrast checker → · Palette generator →

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