#8842D3#8842D3

#8842D3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.212 H 301.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8842D3
RGBrgb(136, 66, 211)
HSLhsl(269, 62%, 54%)
HSVhsv(269, 69%, 83%)
CMYKcmyk(35.5%, 68.7%, 0%, 17.3%)
CIE-LABlab(43.99, 56.81, -63.25)
CIE-LCHlch(43.99, 85.01, 311.93°)
OKLaboklab(54.23% 0.1116 -0.1801)
OKLCHoklch(54.23% 0.212 301.8)
XYZxyz(23.8566, 13.8337, 63.0287)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8842D3 #8DD342
analogous
#4244D3 #8842D3 #D142D3
triadic
#8842D3 #D38842 #42D388
tetradic
#8842D3 #D34244 #8DD342 #42D3D1
square
#8842D3 #D34244 #8DD342 #42D3D1
split-complementary
#8842D3 #D3D142 #44D342
monochromatic
#4C1D7D #6A29AF #8842D3 #A774DF #C7A5EA

Accessibility & contrast

On white

5.58
#8842D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8842D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8842D3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8842D3#FFFFFF#000000##FFFFFF
##8842D31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#786486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8842d3;
/* rgb */ color: rgb(136, 66, 211);
/* oklch */ color: oklch(54.2% 0.212 301.8);
Tailwind
colors: {
  custom: {
    50: '#b07ce1',
    500: '#8842d3',
    950: '#000000',
  },
}
SCSS
$custom: #8842d3;
$custom-light: #b07ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8842d3",
  "rgb": {
    "r": 136,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 268.966,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.21183,
    "h": 301.8
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#8842D3
secondary
#B9D79A
accent
#E54297
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8842D3

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

Preview Lab → · Contrast checker → · Palette generator →

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