#8838BB#8838BB

#8838BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.199 H 308.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8838BB
RGBrgb(136, 56, 187)
HSLhsl(277, 54%, 48%)
HSVhsv(277, 70%, 73%)
CMYKcmyk(27.3%, 70.1%, 0%, 26.7%)
CIE-LABlab(40.66, 55.82, -54.71)
CIE-LCHlch(40.66, 78.16, 315.57°)
OKLaboklab(51.31% 0.1252 -0.1549)
OKLCHoklch(51.31% 0.199 308.9)
XYZxyz(20.5353, 11.6508, 48.1711)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838BB #6BBB38
analogous
#4638BB #8838BB #BB38AC
triadic
#8838BB #BB8838 #38BB88
tetradic
#8838BB #BB4638 #6BBB38 #38ACBB
square
#8838BB #BB4638 #6BBB38 #38ACBB
split-complementary
#8838BB #ACBB38 #38BB46
monochromatic
#431C5D #662A8C #8838BB #A461D0 #BF90DE

Accessibility & contrast

On white

6.31
#8838BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8838BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838BB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838BB#FFFFFF#000000##FFFFFF
##8838BB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#805576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8838bb;
/* rgb */ color: rgb(136, 56, 187);
/* oklch */ color: oklch(51.3% 0.199 308.9);
Tailwind
colors: {
  custom: {
    50: '#af75d0',
    500: '#8838bb',
    950: '#000000',
  },
}
SCSS
$custom: #8838bb;
$custom-light: #af75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8838bb",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 276.641,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.19923,
    "h": 308.9
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#8838BB
secondary
#A0C886
accent
#DD4B84
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8838BB

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

Preview Lab → · Contrast checker → · Palette generator →

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