#8837B7#8837B7

#8837B7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.196 H 310.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8837B7
RGBrgb(136, 55, 183)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 72%)
CMYKcmyk(25.7%, 69.9%, 0%, 28.2%)
CIE-LABlab(40.22, 55.38, -53.06)
CIE-LCHlch(40.22, 76.69, 316.22°)
OKLaboklab(50.91% 0.1268 -0.1501)
OKLCHoklch(50.91% 0.196 310.2)
XYZxyz(20.0651, 11.3859, 45.9313)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837B7 #66B737
analogous
#4837B7 #8837B7 #B737A6
triadic
#8837B7 #B78837 #37B788
tetradic
#8837B7 #B74837 #66B737 #37A6B7
square
#8837B7 #B74837 #66B737 #37A6B7
split-complementary
#8837B7 #A6B737 #37B748
monochromatic
#421B59 #652988 #8837B7 #A55DCE #BF8CDC

Accessibility & contrast

On white

6.41
#8837B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8837B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837B7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837B7#FFFFFF#000000##FFFFFF
##8837B71.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)
#005BBB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#825373
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8837b7;
/* rgb */ color: rgb(136, 55, 183);
/* oklch */ color: oklch(50.9% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#af74cd',
    500: '#8837b7',
    950: '#000000',
  },
}
SCSS
$custom: #8837b7;
$custom-light: #af74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8837b7",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 277.969,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.19646,
    "h": 310.2
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#8837B7
secondary
#9CC783
accent
#DD4B80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8837B7

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

Preview Lab → · Contrast checker → · Palette generator →

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