#8B38D1#8B38D1

#8B38D1 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.222 H 304.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8B38D1
RGBrgb(139, 56, 209)
HSLhsl(273, 62%, 52%)
HSVhsv(273, 73%, 82%)
CMYKcmyk(33.5%, 73.2%, 0%, 18%)
CIE-LABlab(42.64, 61.34, -64.27)
CIE-LCHlch(42.64, 88.85, 313.67°)
OKLaboklab(53.3% 0.1257 -0.1829)
OKLCHoklch(53.3% 0.222 304.5)
XYZxyz(23.5676, 12.9209, 61.5616)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38D1 #7ED138
analogous
#3F38D1 #8B38D1 #D138CB
triadic
#8B38D1 #D18B38 #38D18B
tetradic
#8B38D1 #D13F38 #7ED138 #38CBD1
square
#8B38D1 #D13F38 #7ED138 #38CBD1
split-complementary
#8B38D1 #CBD138 #38D13F
monochromatic
#4B1B74 #6B26A6 #8B38D1 #A86ADC #C59BE8

Accessibility & contrast

On white

5.86
#8B38D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B38D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38D1
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38D1#FFFFFF#000000##FFFFFF
##8B38D11.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#7E5D82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b38d1;
/* rgb */ color: rgb(139, 56, 209);
/* oklch */ color: oklch(53.3% 0.222 304.5);
Tailwind
colors: {
  custom: {
    50: '#b376e0',
    500: '#8b38d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b38d1;
$custom-light: #b376e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38d1",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 272.549,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.22196,
    "h": 304.5
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#8B38D1
secondary
#B0D491
accent
#E6428D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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