#8B3CDC#8B3CDC

#8B3CDC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.229 H 301.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8B3CDC
RGBrgb(139, 60, 220)
HSLhsl(270, 70%, 55%)
HSVhsv(270, 73%, 86%)
CMYKcmyk(36.8%, 72.7%, 0%, 13.7%)
CIE-LABlab(44.07, 62.19, -68.26)
CIE-LCHlch(44.07, 92.34, 312.34°)
OKLaboklab(54.57% 0.1199 -0.1947)
OKLCHoklch(54.57% 0.229 301.6)
XYZxyz(25.1785, 13.8879, 69.0504)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CDC #8DDC3C
analogous
#3C3DDC #8B3CDC #DB3CDC
triadic
#8B3CDC #DC8B3C #3CDC8B
tetradic
#8B3CDC #DC3C3D #8DDC3C #3CDCDB
square
#8B3CDC #DC3C3D #8DDC3C #3CDCDB
split-complementary
#8B3CDC #DCDB3C #3DDC3C
monochromatic
#4E1886 #6C21BA #8B3CDC #AA70E5 #C9A4EF

Accessibility & contrast

On white

5.56
#8B3CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8B3CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CDC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CDC#FFFFFF#000000##FFFFFF
##8B3CDC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#796489
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b3cdc;
/* rgb */ color: rgb(139, 60, 220);
/* oklch */ color: oklch(54.6% 0.229 301.6);
Tailwind
colors: {
  custom: {
    50: '#b379e8',
    500: '#8b3cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cdc;
$custom-light: #b379e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cdc",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 220
  },
  "hsl": {
    "h": 269.625,
    "s": 69.565,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.22863,
    "h": 301.6
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#8B3CDC
secondary
#BADC98
accent
#EC3B95
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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