#8839D2#8839D2

#8839D2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.1% C 0.221 H 303.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8839D2
RGBrgb(136, 57, 210)
HSLhsl(271, 63%, 52%)
HSVhsv(271, 73%, 82%)
CMYKcmyk(35.2%, 72.9%, 0%, 17.6%)
CIE-LABlab(42.48, 60.61, -65.13)
CIE-LCHlch(42.48, 88.97, 312.94°)
OKLaboklab(53.13% 0.1205 -0.1856)
OKLCHoklch(53.13% 0.221 303)
XYZxyz(23.2466, 12.8136, 62.2088)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8839D2 #83D239
analogous
#3B39D2 #8839D2 #D239D0
triadic
#8839D2 #D28839 #39D288
tetradic
#8839D2 #D23B39 #83D239 #39D0D2
square
#8839D2 #D23B39 #83D239 #39D0D2
split-complementary
#8839D2 #D0D239 #39D23B
monochromatic
#4A1B76 #6926A8 #8839D2 #A66BDD #C49DE9

Accessibility & contrast

On white

5.89
#8839D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8839D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8839D2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8839D2#FFFFFF#000000##FFFFFF
##8839D21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#795F83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8839d2;
/* rgb */ color: rgb(136, 57, 210);
/* oklch */ color: oklch(53.1% 0.221 303.0);
Tailwind
colors: {
  custom: {
    50: '#b177e1',
    500: '#8839d2',
    950: '#000000',
  },
}
SCSS
$custom: #8839d2;
$custom-light: #b177e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8839d2",
  "rgb": {
    "r": 136,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 270.98,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.22125,
    "h": 303
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#8839D2
secondary
#B2D592
accent
#E64291
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8839D2

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

Preview Lab → · Contrast checker → · Palette generator →

#8839D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva