#8B38BA#8B38BA

#8B38BA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.6% C 0.199 H 310.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8B38BA
RGBrgb(139, 56, 186)
HSLhsl(278, 54%, 47%)
HSVhsv(278, 70%, 73%)
CMYKcmyk(25.3%, 69.9%, 0%, 27.1%)
CIE-LABlab(41.00, 56.22, -53.55)
CIE-LCHlch(41.00, 77.65, 316.39°)
OKLaboklab(51.62% 0.1293 -0.1514)
OKLCHoklch(51.62% 0.199 310.5)
XYZxyz(20.9229, 11.8630, 47.6324)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38BA #67BA38
analogous
#4A38BA #8B38BA #BA38A8
triadic
#8B38BA #BA8B38 #38BA8B
tetradic
#8B38BA #BA4A38 #67BA38 #38A8BA
square
#8B38BA #BA4A38 #67BA38 #38A8BA
split-complementary
#8B38BA #A8BA38 #38BA4A
monochromatic
#451C5C #682A8B #8B38BA #A760CF #C18FDD

Accessibility & contrast

On white

6.23
#8B38BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8B38BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38BA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38BA#FFFFFF#000000##FFFFFF
##8B38BA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#855475
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b38ba;
/* rgb */ color: rgb(139, 56, 186);
/* oklch */ color: oklch(51.6% 0.199 310.5);
Tailwind
colors: {
  custom: {
    50: '#b175cf',
    500: '#8b38ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b38ba;
$custom-light: #b175cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38ba",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 278.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.19914,
    "h": 310.5
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#8B38BA
secondary
#9EC886
accent
#DD4B80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B38BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8B38BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva