#8838C2#8838C2

#8838C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.206 H 307.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8838C2
RGBrgb(136, 56, 194)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(29.9%, 71.1%, 0%, 23.9%)
CIE-LABlab(41.15, 57.39, -58.01)
CIE-LCHlch(41.15, 81.60, 314.69°)
OKLaboklab(51.82% 0.1243 -0.1646)
OKLCHoklch(51.82% 0.206 307)
XYZxyz(21.3030, 11.9579, 52.2143)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C2 #72C238
analogous
#4338C2 #8838C2 #C238B7
triadic
#8838C2 #C28838 #38C288
tetradic
#8838C2 #C24338 #72C238 #38B7C2
square
#8838C2 #C24338 #72C238 #38B7C2
split-complementary
#8838C2 #B7C238 #38C243
monochromatic
#451D63 #672A93 #8838C2 #A465D2 #C094E0

Accessibility & contrast

On white

6.19
#8838C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8838C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C2#FFFFFF#000000##FFFFFF
##8838C21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8838c2;
/* rgb */ color: rgb(136, 56, 194);
/* oklch */ color: oklch(51.8% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#b075d5',
    500: '#8838c2',
    950: '#000000',
  },
}
SCSS
$custom: #8838c2;
$custom-light: #b075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c2",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 274.783,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.20627,
    "h": 307
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#8838C2
secondary
#A6CB8A
accent
#DF4988
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8838C2

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

Preview Lab → · Contrast checker → · Palette generator →

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