#8B3CD1#8B3CD1

#8B3CD1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.217 H 304.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8B3CD1
RGBrgb(139, 60, 209)
HSLhsl(272, 62%, 53%)
HSVhsv(272, 71%, 82%)
CMYKcmyk(33.5%, 71.3%, 0%, 18%)
CIE-LABlab(43.25, 59.64, -63.29)
CIE-LCHlch(43.25, 86.96, 313.30°)
OKLaboklab(53.73% 0.1219 -0.1801)
OKLCHoklch(53.73% 0.217 304.1)
XYZxyz(23.7693, 13.3242, 61.6288)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CD1 #82D13C
analogous
#403CD1 #8B3CD1 #D13CCD
triadic
#8B3CD1 #D18B3C #3CD18B
tetradic
#8B3CD1 #D1403C #82D13C #3CCDD1
square
#8B3CD1 #D1403C #82D13C #3CCDD1
split-complementary
#8B3CD1 #CDD13C #3CD140
monochromatic
#4C1C77 #6C28A8 #8B3CD1 #A86EDD #C69FE8

Accessibility & contrast

On white

5.73
#8B3CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8B3CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CD1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CD1#FFFFFF#000000##FFFFFF
##8B3CD11.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#7D6083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b3cd1;
/* rgb */ color: rgb(139, 60, 209);
/* oklch */ color: oklch(53.7% 0.217 304.1);
Tailwind
colors: {
  custom: {
    50: '#b278e0',
    500: '#8b3cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cd1;
$custom-light: #b278e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cd1",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 209
  },
  "hsl": {
    "h": 271.812,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53732,
    "c": 0.21746,
    "h": 304.1
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#8B3CD1
secondary
#B2D594
accent
#E5438F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B3CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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