#8838CB#8838CB

#8838CB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.215 H 304.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8838CB
RGBrgb(136, 56, 203)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(33%, 72.4%, 0%, 20.4%)
CIE-LABlab(41.81, 59.43, -62.18)
CIE-LCHlch(41.81, 86.01, 313.70°)
OKLaboklab(52.49% 0.1227 -0.1769)
OKLCHoklch(52.49% 0.215 304.8)
XYZxyz(22.3446, 12.3745, 57.6997)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838CB #7BCB38
analogous
#3E38CB #8838CB #CB38C5
triadic
#8838CB #CB8838 #38CB88
tetradic
#8838CB #CB3E38 #7BCB38 #38C5CB
square
#8838CB #CB3E38 #7BCB38 #38C5CB
split-complementary
#8838CB #C5CB38 #38CB3E
monochromatic
#481C6C #68299D #8838CB #A569D8 #C299E4

Accessibility & contrast

On white

6.04
#8838CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8838CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838CB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838CB#FFFFFF#000000##FFFFFF
##8838CB1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#7B5B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8838cb;
/* rgb */ color: rgb(136, 56, 203);
/* oklch */ color: oklch(52.5% 0.215 304.8);
Tailwind
colors: {
  custom: {
    50: '#b076dc',
    500: '#8838cb',
    950: '#000000',
  },
}
SCSS
$custom: #8838cb;
$custom-light: #b076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8838cb",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 272.653,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.21531,
    "h": 304.8
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#8838CB
secondary
#ADD08F
accent
#E2468D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8838CB

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

Preview Lab → · Contrast checker → · Palette generator →

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