#8838C3#8838C3

#8838C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.207 H 306.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8838C3
RGBrgb(136, 56, 195)
HSLhsl(275, 55%, 49%)
HSVhsv(275, 71%, 76%)
CMYKcmyk(30.3%, 71.3%, 0%, 23.5%)
CIE-LABlab(41.22, 57.61, -58.48)
CIE-LCHlch(41.22, 82.09, 314.57°)
OKLaboklab(51.89% 0.1241 -0.166)
OKLCHoklch(51.89% 0.207 306.8)
XYZxyz(21.4157, 12.0030, 52.8078)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C3 #73C338
analogous
#4338C3 #8838C3 #C338B9
triadic
#8838C3 #C38838 #38C388
tetradic
#8838C3 #C34338 #73C338 #38B9C3
square
#8838C3 #C34338 #73C338 #38B9C3
split-complementary
#8838C3 #B9C338 #38C343
monochromatic
#461D64 #672A93 #8838C3 #A465D3 #C095E1

Accessibility & contrast

On white

6.18
#8838C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8838C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C3#FFFFFF#000000##FFFFFF
##8838C31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0062C0
Tritanopia (blue-blind)
#7E587A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8838c3;
/* rgb */ color: rgb(136, 56, 195);
/* oklch */ color: oklch(51.9% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#b075d6',
    500: '#8838c3',
    950: '#000000',
  },
}
SCSS
$custom: #8838c3;
$custom-light: #b075d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c3",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 274.532,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.20727,
    "h": 306.8
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8838C3

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

Preview Lab → · Contrast checker → · Palette generator →

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