#8842CB#8842CB

#8842CB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.203 H 303.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8842CB
RGBrgb(136, 66, 203)
HSLhsl(271, 57%, 53%)
HSVhsv(271, 67%, 80%)
CMYKcmyk(33%, 67.5%, 0%, 20.4%)
CIE-LABlab(43.42, 54.90, -59.56)
CIE-LCHlch(43.42, 81.00, 312.67°)
OKLaboklab(53.64% 0.1126 -0.1693)
OKLCHoklch(53.64% 0.203 303.6)
XYZxyz(22.8786, 13.4425, 57.8777)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842CB #85CB42
analogous
#4442CB #8842CB #CB42C9
triadic
#8842CB #CB8842 #42CB88
tetradic
#8842CB #CB4442 #85CB42 #42C9CB
square
#8842CB #CB4442 #85CB42 #42C9CB
split-complementary
#8842CB #C9CB42 #42CB44
monochromatic
#4A2073 #692DA3 #8842CB #A672D8 #C4A2E5

Accessibility & contrast

On white

5.69
#8842CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8842CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842CB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842CB#FFFFFF#000000##FFFFFF
##8842CB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0466C8
Tritanopia (blue-blind)
#7B6181
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8842cb;
/* rgb */ color: rgb(136, 66, 203);
/* oklch */ color: oklch(53.6% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#b07bdc',
    500: '#8842cb',
    950: '#000000',
  },
}
SCSS
$custom: #8842cb;
$custom-light: #b07bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8842cb",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 270.657,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.20329,
    "h": 303.6
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#8842CB
secondary
#B4D297
accent
#E04892
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8842CB

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

Preview Lab → · Contrast checker → · Palette generator →

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