#8837D1#8837D1

#8837D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.222 H 303.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8837D1
RGBrgb(136, 55, 209)
HSLhsl(272, 63%, 52%)
HSVhsv(272, 74%, 82%)
CMYKcmyk(34.9%, 73.7%, 0%, 18%)
CIE-LABlab(42.11, 61.23, -65.16)
CIE-LCHlch(42.11, 89.41, 313.22°)
OKLaboklab(52.84% 0.1225 -0.1856)
OKLCHoklch(52.84% 0.222 303.4)
XYZxyz(23.0255, 12.5701, 61.5225)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837D1 #80D137
analogous
#3B37D1 #8837D1 #D137CD
triadic
#8837D1 #D18837 #37D188
tetradic
#8837D1 #D13B37 #80D137 #37CDD1
square
#8837D1 #D13B37 #80D137 #37CDD1
split-complementary
#8837D1 #CDD137 #37D13B
monochromatic
#491A73 #6926A5 #8837D1 #A669DC #C39BE8

Accessibility & contrast

On white

5.98
#8837D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8837D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837D1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837D1#FFFFFF#000000##FFFFFF
##8837D11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#795D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8837d1;
/* rgb */ color: rgb(136, 55, 209);
/* oklch */ color: oklch(52.8% 0.222 303.4);
Tailwind
colors: {
  custom: {
    50: '#b176e0',
    500: '#8837d1',
    950: '#000000',
  },
}
SCSS
$custom: #8837d1;
$custom-light: #b176e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8837d1",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 271.558,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52842,
    "c": 0.22242,
    "h": 303.4
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#8837D1
secondary
#B0D490
accent
#E64290
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8837D1

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

Preview Lab → · Contrast checker → · Palette generator →

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