#8B3CDA#8B3CDA

#8B3CDA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.4% C 0.227 H 302.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B3CDA
RGBrgb(139, 60, 218)
HSLhsl(270, 68%, 55%)
HSVhsv(270, 72%, 85%)
CMYKcmyk(36.2%, 72.5%, 0%, 14.5%)
CIE-LABlab(43.92, 61.72, -67.36)
CIE-LCHlch(43.92, 91.36, 312.50°)
OKLaboklab(54.42% 0.1203 -0.192)
OKLCHoklch(54.42% 0.227 302.1)
XYZxyz(24.9152, 13.7826, 67.6638)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CDA #8BDA3C
analogous
#3C3CDA #8B3CDA #DA3CDA
triadic
#8B3CDA #DA8B3C #3CDA8B
tetradic
#8B3CDA #DA3C3C #8BDA3C #3CDADA
square
#8B3CDA #DA3C3C #8BDA3C #3CDADA
split-complementary
#8B3CDA #DADA3C #3CDA3C
monochromatic
#4E1983 #6C23B6 #8B3CDA #AA6FE4 #C8A3EE

Accessibility & contrast

On white

5.59
#8B3CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8B3CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CDA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CDA#FFFFFF#000000##FFFFFF
##8B3CDA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#7A6388
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3cda;
/* rgb */ color: rgb(139, 60, 218);
/* oklch */ color: oklch(54.4% 0.227 302.1);
Tailwind
colors: {
  custom: {
    50: '#b379e6',
    500: '#8b3cda',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cda;
$custom-light: #b379e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cda",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.2266,
    "h": 302.1
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#8B3CDA
secondary
#B9DA97
accent
#EB3D94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8B3CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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