#8B38D3#8B38D3

#8B38D3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.224 H 304.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8B38D3
RGBrgb(139, 56, 211)
HSLhsl(272, 64%, 52%)
HSVhsv(272, 73%, 83%)
CMYKcmyk(34.1%, 73.5%, 0%, 17.3%)
CIE-LABlab(42.79, 61.80, -65.18)
CIE-LCHlch(42.79, 89.82, 313.48°)
OKLaboklab(53.46% 0.1253 -0.1856)
OKLCHoklch(53.46% 0.224 304)
XYZxyz(23.8168, 13.0205, 62.8739)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38D3 #80D338
analogous
#3E38D3 #8B38D3 #D338CE
triadic
#8B38D3 #D38B38 #38D38B
tetradic
#8B38D3 #D33E38 #80D338 #38CED3
square
#8B38D3 #D33E38 #80D338 #38CED3
split-complementary
#8B38D3 #CED338 #38D33E
monochromatic
#4C1A76 #6C25A9 #8B38D3 #A86ADE #C59CE9

Accessibility & contrast

On white

5.83
#8B38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8B38D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38D3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38D3#FFFFFF#000000##FFFFFF
##8B38D31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#7D5E83
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b38d3;
/* rgb */ color: rgb(139, 56, 211);
/* oklch */ color: oklch(53.5% 0.224 304.0);
Tailwind
colors: {
  custom: {
    50: '#b376e1',
    500: '#8b38d3',
    950: '#000000',
  },
}
SCSS
$custom: #8b38d3;
$custom-light: #b376e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38d3",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 272.129,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.22394,
    "h": 304
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#8B38D3
secondary
#B1D592
accent
#E7418E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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