#8838C8#8838C8

#8838C8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.212 H 305.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8838C8
RGBrgb(136, 56, 200)
HSLhsl(273, 57%, 50%)
HSVhsv(273, 72%, 78%)
CMYKcmyk(32%, 72%, 0%, 21.6%)
CIE-LABlab(41.58, 58.74, -60.80)
CIE-LCHlch(41.58, 84.54, 314.01°)
OKLaboklab(52.26% 0.1233 -0.1728)
OKLCHoklch(52.26% 0.212 305.5)
XYZxyz(21.9905, 12.2329, 55.8351)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838C8 #78C838
analogous
#4038C8 #8838C8 #C838C0
triadic
#8838C8 #C88838 #38C888
tetradic
#8838C8 #C84038 #78C838 #38C0C8
square
#8838C8 #C84038 #78C838 #38C0C8
split-complementary
#8838C8 #C0C838 #38C840
monochromatic
#471D69 #682A99 #8838C8 #A568D5 #C198E3

Accessibility & contrast

On white

6.09
#8838C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8838C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838C8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838C8#FFFFFF#000000##FFFFFF
##8838C81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#7C5A7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8838c8;
/* rgb */ color: rgb(136, 56, 200);
/* oklch */ color: oklch(52.3% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#b076da',
    500: '#8838c8',
    950: '#000000',
  },
}
SCSS
$custom: #8838c8;
$custom-light: #b076da;
$custom-dark: #000000;
JSON
{
  "hex": "#8838c8",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 273.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.21229,
    "h": 305.5
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#8838C8
secondary
#AACE8E
accent
#E0488B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838C8

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

Preview Lab → · Contrast checker → · Palette generator →

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