#8C3BDD#8C3BDD

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

Color values

HEX#8C3BDD
RGBrgb(140, 59, 221)
HSLhsl(270, 70%, 55%)
HSVhsv(270, 73%, 87%)
CMYKcmyk(36.7%, 73.3%, 0%, 13.3%)
CIE-LABlab(44.12, 63.02, -68.74)
CIE-LCHlch(44.12, 93.26, 312.52°)
OKLaboklab(54.66% 0.1219 -0.1961)
OKLCHoklch(54.66% 0.231 301.9)
XYZxyz(25.4272, 13.9237, 69.7405)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BDD #8CDD3B
analogous
#3B3BDD #8C3BDD #DD3BDD
triadic
#8C3BDD #DD8C3B #3BDD8C
tetradic
#8C3BDD #DD3B3B #8CDD3B #3BDDDD
square
#8C3BDD #DD3B3B #8CDD3B #3BDDDD
split-complementary
#8C3BDD #DDDD3B #3BDD3B
monochromatic
#4F1786 #6D20BA #8C3BDD #AB6FE6 #C9A3EF

Accessibility & contrast

On white

5.55
#8C3BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C3BDD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3BDD#FFFFFF#000000##FFFFFF
##8C3BDD1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#7B6489
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c3bdd;
/* rgb */ color: rgb(140, 59, 221);
/* oklch */ color: oklch(54.7% 0.231 301.9);
Tailwind
colors: {
  custom: {
    50: '#b478e9',
    500: '#8c3bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bdd;
$custom-light: #b478e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bdd",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 221
  },
  "hsl": {
    "h": 270,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.23088,
    "h": 301.9
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#8C3BDD
secondary
#BADC98
accent
#ED3B94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C3BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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