#8839B2#8839B2

#8839B2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.189 H 311.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8839B2
RGBrgb(136, 57, 178)
HSLhsl(279, 51%, 46%)
HSVhsv(279, 68%, 70%)
CMYKcmyk(23.6%, 68%, 0%, 30.2%)
CIE-LABlab(40.21, 53.39, -50.14)
CIE-LCHlch(40.21, 73.24, 316.80°)
OKLaboklab(50.79% 0.1251 -0.1415)
OKLCHoklch(50.79% 0.189 311.5)
XYZxyz(19.6509, 11.3753, 43.2713)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8839B2 #63B239
analogous
#4C39B2 #8839B2 #B2399F
triadic
#8839B2 #B28839 #39B288
tetradic
#8839B2 #B24C39 #63B239 #399FB2
square
#8839B2 #B24C39 #63B239 #399FB2
split-complementary
#8839B2 #9FB239 #39B24C
monochromatic
#411B55 #652A84 #8839B2 #A55DCB #BF8BDA

Accessibility & contrast

On white

6.41
#8839B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8839B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8839B2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8839B2#FFFFFF#000000##FFFFFF
##8839B21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#835271
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8839b2;
/* rgb */ color: rgb(136, 57, 178);
/* oklch */ color: oklch(50.8% 0.189 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae75ca',
    500: '#8839b2',
    950: '#000000',
  },
}
SCSS
$custom: #8839b2;
$custom-light: #ae75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8839b2",
  "rgb": {
    "r": 136,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 279.174,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.18889,
    "h": 311.5
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#8839B2
secondary
#99C482
accent
#DB4D7E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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