#8838C6#8838C6

#8838C6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.210 H 306.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8838C6
RGBrgb(136, 56, 198)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 72%, 78%)
CMYKcmyk(31.3%, 71.7%, 0%, 22.4%)
CIE-LABlab(41.44, 58.29, -59.88)
CIE-LCHlch(41.44, 83.56, 314.23°)
OKLaboklab(52.11% 0.1236 -0.1701)
OKLCHoklch(52.11% 0.21 306)
XYZxyz(21.7583, 12.1400, 54.6121)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C6 #76C638
analogous
#4138C6 #8838C6 #C638BD
triadic
#8838C6 #C68838 #38C688
tetradic
#8838C6 #C64138 #76C638 #38BDC6
square
#8838C6 #C64138 #76C638 #38BDC6
split-complementary
#8838C6 #BDC638 #38C641
monochromatic
#461D67 #672B96 #8838C6 #A567D4 #C197E2

Accessibility & contrast

On white

6.13
#8838C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8838C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C6#FFFFFF#000000##FFFFFF
##8838C61.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7D597C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8838c6;
/* rgb */ color: rgb(136, 56, 198);
/* oklch */ color: oklch(52.1% 0.210 306.0);
Tailwind
colors: {
  custom: {
    50: '#b076d8',
    500: '#8838c6',
    950: '#000000',
  },
}
SCSS
$custom: #8838c6;
$custom-light: #b076d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c6",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 273.803,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.21029,
    "h": 306
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#8838C6
secondary
#A9CD8D
accent
#DF498A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8838C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8838C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva