#8837C2#8837C2

#8837C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.207 H 307.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8837C2
RGBrgb(136, 55, 194)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 76%)
CMYKcmyk(29.9%, 71.6%, 0%, 23.9%)
CIE-LABlab(41.00, 57.82, -58.26)
CIE-LCHlch(41.00, 82.08, 314.78°)
OKLaboklab(51.71% 0.1253 -0.1654)
OKLCHoklch(51.71% 0.207 307.1)
XYZxyz(21.2551, 11.8619, 52.1983)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837C2 #71C237
analogous
#4337C2 #8837C2 #C237B7
triadic
#8837C2 #C28837 #37C288
tetradic
#8837C2 #C24337 #71C237 #37B7C2
square
#8837C2 #C24337 #71C237 #37B7C2
split-complementary
#8837C2 #B7C237 #37C243
monochromatic
#451C63 #672992 #8837C2 #A463D3 #C093E0

Accessibility & contrast

On white

6.23
#8837C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8837C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837C2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837C2#FFFFFF#000000##FFFFFF
##8837C21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#7E5779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8837c2;
/* rgb */ color: rgb(136, 55, 194);
/* oklch */ color: oklch(51.7% 0.207 307.1);
Tailwind
colors: {
  custom: {
    50: '#b075d5',
    500: '#8837c2',
    950: '#000000',
  },
}
SCSS
$custom: #8837c2;
$custom-light: #b075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8837c2",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 274.964,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.20745,
    "h": 307.1
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#8837C2
secondary
#A5CB89
accent
#DF4987
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8837C2

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

Preview Lab → · Contrast checker → · Palette generator →

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