#8B38BC#8B38BC

#8B38BC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.201 H 309.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B38BC
RGBrgb(139, 56, 188)
HSLhsl(278, 54%, 48%)
HSVhsv(278, 70%, 74%)
CMYKcmyk(26.1%, 70.2%, 0%, 26.3%)
CIE-LABlab(41.13, 56.66, -54.51)
CIE-LCHlch(41.13, 78.62, 316.11°)
OKLaboklab(51.76% 0.1291 -0.1542)
OKLCHoklch(51.76% 0.201 309.9)
XYZxyz(21.1370, 11.9486, 48.7600)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38BC #69BC38
analogous
#4938BC #8B38BC #BC38AB
triadic
#8B38BC #BC8B38 #38BC8B
tetradic
#8B38BC #BC4938 #69BC38 #38ABBC
square
#8B38BC #BC4938 #69BC38 #38ABBC
split-complementary
#8B38BC #ABBC38 #38BC49
monochromatic
#451C5E #682A8D #8B38BC #A761D0 #C190DE

Accessibility & contrast

On white

6.20
#8B38BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B38BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38BC#FFFFFF#000000##FFFFFF
##8B38BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2062B9
Tritanopia (blue-blind)
#845576
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b38bc;
/* rgb */ color: rgb(139, 56, 188);
/* oklch */ color: oklch(51.8% 0.201 309.9);
Tailwind
colors: {
  custom: {
    50: '#b175d1',
    500: '#8b38bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b38bc;
$custom-light: #b175d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38bc",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 277.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51757,
    "c": 0.20113,
    "h": 309.9
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#8B38BC
secondary
#9FC987
accent
#DD4A81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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