#8838BC#8838BC

#8838BC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.200 H 308.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8838BC
RGBrgb(136, 56, 188)
HSLhsl(276, 54%, 48%)
HSVhsv(276, 70%, 74%)
CMYKcmyk(27.7%, 70.2%, 0%, 26.3%)
CIE-LABlab(40.73, 56.04, -55.19)
CIE-LCHlch(40.73, 78.65, 315.44°)
OKLaboklab(51.38% 0.1251 -0.1563)
OKLCHoklch(51.38% 0.2 308.7)
XYZxyz(20.6428, 11.6938, 48.7369)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838BC #6CBC38
analogous
#4638BC #8838BC #BC38AE
triadic
#8838BC #BC8838 #38BC88
tetradic
#8838BC #BC4638 #6CBC38 #38AEBC
square
#8838BC #BC4638 #6CBC38 #38AEBC
split-complementary
#8838BC #AEBC38 #38BC46
monochromatic
#441C5E #662A8D #8838BC #A461D0 #BF90DE

Accessibility & contrast

On white

6.29
#8838BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8838BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838BC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838BC#FFFFFF#000000##FFFFFF
##8838BC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#805576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8838bc;
/* rgb */ color: rgb(136, 56, 188);
/* oklch */ color: oklch(51.4% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#af75d1',
    500: '#8838bc',
    950: '#000000',
  },
}
SCSS
$custom: #8838bc;
$custom-light: #af75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8838bc",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 276.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.20024,
    "h": 308.7
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#8838BC
secondary
#A1C987
accent
#DD4A84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8838BC

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

Preview Lab → · Contrast checker → · Palette generator →

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