#8B38DC#8B38DC

#8B38DC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.233 H 302.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8B38DC
RGBrgb(139, 56, 220)
HSLhsl(270, 70%, 54%)
HSVhsv(270, 75%, 86%)
CMYKcmyk(36.8%, 74.5%, 0%, 13.7%)
CIE-LABlab(43.48, 63.86, -69.21)
CIE-LCHlch(43.48, 94.18, 312.70°)
OKLaboklab(54.16% 0.1234 -0.1975)
OKLCHoklch(54.16% 0.233 302)
XYZxyz(24.9768, 13.4845, 68.9832)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38DC #89DC38
analogous
#3938DC #8B38DC #DC38DB
triadic
#8B38DC #DC8B38 #38DC8B
tetradic
#8B38DC #DC3938 #89DC38 #38DBDC
square
#8B38DC #DC3938 #89DC38 #38DBDC
split-complementary
#8B38DC #DBDC38 #38DC39
monochromatic
#4D1783 #6C20B7 #8B38DC #A96CE5 #C8A0EE

Accessibility & contrast

On white

5.68
#8B38DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8B38DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38DC#FFFFFF#000000##FFFFFF
##8B38DC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#7A6288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b38dc;
/* rgb */ color: rgb(139, 56, 220);
/* oklch */ color: oklch(54.2% 0.233 302.0);
Tailwind
colors: {
  custom: {
    50: '#b477e8',
    500: '#8b38dc',
    950: '#000000',
  },
}
SCSS
$custom: #8b38dc;
$custom-light: #b477e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38dc",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 220
  },
  "hsl": {
    "h": 270.366,
    "s": 70.085,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.23285,
    "h": 302
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#8B38DC
secondary
#B7DB95
accent
#ED3B93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B38DC

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

Preview Lab → · Contrast checker → · Palette generator →

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