#8838CC#8838CC

#8838CC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.216 H 304.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8838CC
RGBrgb(136, 56, 204)
HSLhsl(272, 59%, 51%)
HSVhsv(272, 73%, 80%)
CMYKcmyk(33.3%, 72.5%, 0%, 20%)
CIE-LABlab(41.88, 59.66, -62.64)
CIE-LCHlch(41.88, 86.50, 313.60°)
OKLaboklab(52.56% 0.1226 -0.1782)
OKLCHoklch(52.56% 0.216 304.5)
XYZxyz(22.4641, 12.4223, 58.3293)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838CC #7CCC38
analogous
#3E38CC #8838CC #CC38C6
triadic
#8838CC #CC8838 #38CC88
tetradic
#8838CC #CC3E38 #7CCC38 #38C6CC
square
#8838CC #CC3E38 #7CCC38 #38C6CC
split-complementary
#8838CC #C6CC38 #38CC3E
monochromatic
#481C6E #68299E #8838CC #A569D8 #C299E5

Accessibility & contrast

On white

6.03
#8838CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8838CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838CC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838CC#FFFFFF#000000##FFFFFF
##8838CC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7B5C7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8838cc;
/* rgb */ color: rgb(136, 56, 204);
/* oklch */ color: oklch(52.6% 0.216 304.5);
Tailwind
colors: {
  custom: {
    50: '#b076dc',
    500: '#8838cc',
    950: '#000000',
  },
}
SCSS
$custom: #8838cc;
$custom-light: #b076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8838cc",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 272.432,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.21632,
    "h": 304.5
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#8838CC
secondary
#ADD18F
accent
#E2458E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838CC

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

Preview Lab → · Contrast checker → · Palette generator →

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