#8842CF#8842CF

#8842CF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.208 H 302.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8842CF
RGBrgb(136, 66, 207)
HSLhsl(270, 59%, 54%)
HSVhsv(270, 68%, 81%)
CMYKcmyk(34.3%, 68.1%, 0%, 18.8%)
CIE-LABlab(43.71, 55.85, -61.41)
CIE-LCHlch(43.71, 83.01, 312.28°)
OKLaboklab(53.93% 0.1121 -0.1747)
OKLCHoklch(53.93% 0.208 302.7)
XYZxyz(23.3614, 13.6356, 60.4206)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842CF #89CF42
analogous
#4242CF #8842CF #CE42CF
triadic
#8842CF #CF8842 #42CF88
tetradic
#8842CF #CF4242 #89CF42 #42CFCE
square
#8842CF #CF4242 #89CF42 #42CFCE
split-complementary
#8842CF #CFCE42 #42CF42
monochromatic
#4B1F78 #692BA9 #8842CF #A773DB #C5A4E8

Accessibility & contrast

On white

5.63
#8842CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8842CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842CF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842CF#FFFFFF#000000##FFFFFF
##8842CF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#7A6383
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8842cf;
/* rgb */ color: rgb(136, 66, 207);
/* oklch */ color: oklch(53.9% 0.208 302.7);
Tailwind
colors: {
  custom: {
    50: '#b07bdf',
    500: '#8842cf',
    950: '#000000',
  },
}
SCSS
$custom: #8842cf;
$custom-light: #b07bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8842cf",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 269.787,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.20757,
    "h": 302.7
  },
  "luminance": 0.13636
}

Semantic roles & 50–950 ramp

primary
#8842CF
secondary
#B7D598
accent
#E34594
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8842CF

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

Preview Lab → · Contrast checker → · Palette generator →

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