#8839BA#8839BA

#8839BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.197 H 309.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8839BA
RGBrgb(136, 57, 186)
HSLhsl(277, 53%, 48%)
HSVhsv(277, 69%, 73%)
CMYKcmyk(26.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(40.74, 55.15, -53.98)
CIE-LCHlch(40.74, 77.17, 315.62°)
OKLaboklab(51.35% 0.1243 -0.1528)
OKLCHoklch(51.35% 0.197 309.1)
XYZxyz(20.4776, 11.7060, 47.6256)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8839BA #6BBA39
analogous
#4739BA #8839BA #BA39AB
triadic
#8839BA #BA8839 #39BA88
tetradic
#8839BA #BA4739 #6BBA39 #39ABBA
square
#8839BA #BA4739 #6BBA39 #39ABBA
split-complementary
#8839BA #ABBA39 #39BA47
monochromatic
#431C5C #662B8B #8839BA #A461CF #BF90DD

Accessibility & contrast

On white

6.29
#8839BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8839BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8839BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8839BA#FFFFFF#000000##FFFFFF
##8839BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#815575
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8839ba;
/* rgb */ color: rgb(136, 57, 186);
/* oklch */ color: oklch(51.3% 0.197 309.1);
Tailwind
colors: {
  custom: {
    50: '#af76cf',
    500: '#8839ba',
    950: '#000000',
  },
}
SCSS
$custom: #8839ba;
$custom-light: #af76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8839ba",
  "rgb": {
    "r": 136,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 276.744,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.19698,
    "h": 309.1
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#8839BA
secondary
#A0C887
accent
#DC4B84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8839BA

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

Preview Lab → · Contrast checker → · Palette generator →

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