#8B3CD9#8B3CD9

#8B3CD9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.226 H 302.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8B3CD9
RGBrgb(139, 60, 217)
HSLhsl(270, 67%, 54%)
HSVhsv(270, 72%, 85%)
CMYKcmyk(35.9%, 72.4%, 0%, 14.9%)
CIE-LABlab(43.84, 61.49, -66.91)
CIE-LCHlch(43.84, 90.88, 312.58°)
OKLaboklab(54.34% 0.1205 -0.1907)
OKLCHoklch(54.34% 0.226 302.3)
XYZxyz(24.7847, 13.7304, 66.9767)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CD9 #8AD93C
analogous
#3D3CD9 #8B3CD9 #D93CD9
triadic
#8B3CD9 #D98B3C #3CD98B
tetradic
#8B3CD9 #D93D3C #8AD93C #3CD9D9
square
#8B3CD9 #D93D3C #8AD93C #3CD9D9
split-complementary
#8B3CD9 #D9D93C #3CD93D
monochromatic
#4E1981 #6C23B5 #8B3CD9 #A96FE3 #C8A2ED

Accessibility & contrast

On white

5.61
#8B3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8B3CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CD9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CD9#FFFFFF#000000##FFFFFF
##8B3CD91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#7B6387
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3cd9;
/* rgb */ color: rgb(139, 60, 217);
/* oklch */ color: oklch(54.3% 0.226 302.3);
Tailwind
colors: {
  custom: {
    50: '#b379e6',
    500: '#8b3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cd9;
$custom-light: #b379e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cd9",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 270.191,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.22558,
    "h": 302.3
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#8B3CD9
secondary
#B8DA97
accent
#EA3E93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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