#8838C7#8838C7

#8838C7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.211 H 305.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8838C7
RGBrgb(136, 56, 199)
HSLhsl(274, 56%, 50%)
HSVhsv(274, 72%, 78%)
CMYKcmyk(31.7%, 71.9%, 0%, 22%)
CIE-LABlab(41.51, 58.52, -60.34)
CIE-LCHlch(41.51, 84.05, 314.12°)
OKLaboklab(52.19% 0.1234 -0.1715)
OKLCHoklch(52.19% 0.211 305.7)
XYZxyz(21.8740, 12.1863, 55.2216)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C7 #77C738
analogous
#4038C7 #8838C7 #C738BF
triadic
#8838C7 #C78838 #38C788
tetradic
#8838C7 #C74038 #77C738 #38BFC7
square
#8838C7 #C74038 #77C738 #38BFC7
split-complementary
#8838C7 #BFC738 #38C740
monochromatic
#471D67 #672B97 #8838C7 #A568D4 #C198E2

Accessibility & contrast

On white

6.11
#8838C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8838C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C7#FFFFFF#000000##FFFFFF
##8838C71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#7D5A7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8838c7;
/* rgb */ color: rgb(136, 56, 199);
/* oklch */ color: oklch(52.2% 0.211 305.7);
Tailwind
colors: {
  custom: {
    50: '#b076d9',
    500: '#8838c7',
    950: '#000000',
  },
}
SCSS
$custom: #8838c7;
$custom-light: #b076d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c7",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 273.566,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.2113,
    "h": 305.7
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#8838C7
secondary
#AACD8D
accent
#DF488B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838C7

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

Preview Lab → · Contrast checker → · Palette generator →

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