#8B3CDE#8B3CDE

#8B3CDE is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.231 H 301.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B3CDE
RGBrgb(139, 60, 222)
HSLhsl(269, 71%, 55%)
HSVhsv(269, 73%, 87%)
CMYKcmyk(37.4%, 73%, 0%, 12.9%)
CIE-LABlab(44.23, 62.66, -69.15)
CIE-LCHlch(44.23, 93.31, 312.18°)
OKLaboklab(54.73% 0.1195 -0.1973)
OKLCHoklch(54.73% 0.231 301.2)
XYZxyz(25.4449, 13.9945, 70.4537)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CDE #8FDE3C
analogous
#3C3EDE #8B3CDE #DC3CDE
triadic
#8B3CDE #DE8B3C #3CDE8B
tetradic
#8B3CDE #DE3C3E #8FDE3C #3CDEDC
square
#8B3CDE #DE3C3E #8FDE3C #3CDEDC
split-complementary
#8B3CDE #DEDC3C #3EDE3C
monochromatic
#4E1788 #6C20BD #8B3CDE #AA70E7 #C9A5F0

Accessibility & contrast

On white

5.53
#8B3CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B3CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CDE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CDE#FFFFFF#000000##FFFFFF
##8B3CDE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#79658A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b3cde;
/* rgb */ color: rgb(139, 60, 222);
/* oklch */ color: oklch(54.7% 0.231 301.2);
Tailwind
colors: {
  custom: {
    50: '#b379e9',
    500: '#8b3cde',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cde;
$custom-light: #b379e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cde",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 222
  },
  "hsl": {
    "h": 269.259,
    "s": 71.053,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.23065,
    "h": 301.2
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#8B3CDE
secondary
#BCDD99
accent
#EE3A96
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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