#8837BA#8837BA

#8837BA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.1% C 0.199 H 309.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8837BA
RGBrgb(136, 55, 186)
HSLhsl(277, 54%, 47%)
HSVhsv(277, 70%, 73%)
CMYKcmyk(26.9%, 70.4%, 0%, 27.1%)
CIE-LABlab(40.43, 56.04, -54.49)
CIE-LCHlch(40.43, 78.16, 315.80°)
OKLaboklab(51.13% 0.1264 -0.1543)
OKLCHoklch(51.13% 0.199 309.3)
XYZxyz(20.3807, 11.5122, 47.5933)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837BA #69BA37
analogous
#4637BA #8837BA #BA37AB
triadic
#8837BA #BA8837 #37BA88
tetradic
#8837BA #BA4637 #69BA37 #37ABBA
square
#8837BA #BA4637 #69BA37 #37ABBA
split-complementary
#8837BA #ABBA37 #37BA46
monochromatic
#431B5C #65298B #8837BA #A45FD0 #BF8EDE

Accessibility & contrast

On white

6.36
#8837BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8837BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837BA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837BA#FFFFFF#000000##FFFFFF
##8837BA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#815475
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8837ba;
/* rgb */ color: rgb(136, 55, 186);
/* oklch */ color: oklch(51.1% 0.199 309.3);
Tailwind
colors: {
  custom: {
    50: '#af75cf',
    500: '#8837ba',
    950: '#000000',
  },
}
SCSS
$custom: #8837ba;
$custom-light: #af75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8837ba",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 277.099,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.19946,
    "h": 309.3
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#8837BA
secondary
#9EC885
accent
#DE4A82
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8837BA

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

Preview Lab → · Contrast checker → · Palette generator →

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