#8C3CE0#8C3CE0

#8C3CE0 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.233 H 301.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8C3CE0
RGBrgb(140, 60, 224)
HSLhsl(269, 73%, 56%)
HSVhsv(269, 73%, 88%)
CMYKcmyk(37.5%, 73.2%, 0%, 12.2%)
CIE-LABlab(44.50, 63.30, -69.83)
CIE-LCHlch(44.50, 94.25, 312.19°)
OKLaboklab(55% 0.1204 -0.1993)
OKLCHoklch(55% 0.233 301.1)
XYZxyz(25.8823, 14.1888, 71.8817)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3CE0 #90E03C
analogous
#3C3EE0 #8C3CE0 #DE3CE0
triadic
#8C3CE0 #E08C3C #3CE08C
tetradic
#8C3CE0 #E03C3E #90E03C #3CE0DE
square
#8C3CE0 #E03C3E #90E03C #3CE0DE
split-complementary
#8C3CE0 #E0DE3C #3EE03C
monochromatic
#4F168B #6D1FC0 #8C3CE0 #AB71E8 #CAA6F1

Accessibility & contrast

On white

5.47
#8C3CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8C3CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3CE0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3CE0#FFFFFF#000000##FFFFFF
##8C3CE01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#79668B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c3ce0;
/* rgb */ color: rgb(140, 60, 224);
/* oklch */ color: oklch(55.0% 0.233 301.1);
Tailwind
colors: {
  custom: {
    50: '#b479eb',
    500: '#8c3ce0',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ce0;
$custom-light: #b479eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ce0",
  "rgb": {
    "r": 140,
    "g": 60,
    "b": 224
  },
  "hsl": {
    "h": 269.268,
    "s": 72.566,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55,
    "c": 0.23283,
    "h": 301.1
  },
  "luminance": 0.14189
}

Semantic roles & 50–950 ramp

primary
#8C3CE0
secondary
#BDDE9A
accent
#EF3996
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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