#8838C4#8838C4

#8838C4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.208 H 306.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8838C4
RGBrgb(136, 56, 196)
HSLhsl(274, 56%, 49%)
HSVhsv(274, 71%, 77%)
CMYKcmyk(30.6%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.29, 57.84, -58.95)
CIE-LCHlch(41.29, 82.58, 314.46°)
OKLaboklab(51.96% 0.1239 -0.1674)
OKLCHoklch(51.96% 0.208 306.5)
XYZxyz(21.5292, 12.0483, 53.4052)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C4 #74C438
analogous
#4238C4 #8838C4 #C438BA
triadic
#8838C4 #C48838 #38C488
tetradic
#8838C4 #C44238 #74C438 #38BAC4
square
#8838C4 #C44238 #74C438 #38BAC4
split-complementary
#8838C4 #BAC438 #38C442
monochromatic
#461D65 #672A94 #8838C4 #A466D3 #C196E1

Accessibility & contrast

On white

6.16
#8838C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8838C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C4#FFFFFF#000000##FFFFFF
##8838C41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#7E597A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8838c4;
/* rgb */ color: rgb(136, 56, 196);
/* oklch */ color: oklch(52.0% 0.208 306.5);
Tailwind
colors: {
  custom: {
    50: '#b076d7',
    500: '#8838c4',
    950: '#000000',
  },
}
SCSS
$custom: #8838c4;
$custom-light: #b076d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c4",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 274.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51963,
    "c": 0.20828,
    "h": 306.5
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#8838C4
secondary
#A7CC8C
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8838C4

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

Preview Lab → · Contrast checker → · Palette generator →

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