#8C4BE0#8C4BE0

#8C4BE0 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.215 H 299.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8C4BE0
RGBrgb(140, 75, 224)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(37.5%, 66.5%, 0%, 12.2%)
CIE-LABlab(46.96, 56.42, -65.84)
CIE-LCHlch(46.96, 86.70, 310.59°)
OKLaboklab(56.75% 0.1059 -0.1876)
OKLCHoklch(56.75% 0.215 299.4)
XYZxyz(26.7825, 15.9891, 72.1817)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BE0 #9FE04B
analogous
#4B54E0 #8C4BE0 #D64BE0
triadic
#8C4BE0 #E08C4B #4BE08C
tetradic
#8C4BE0 #E04B54 #9FE04B #4BE0D6
square
#8C4BE0 #E04B54 #9FE04B #4BE0D6
split-complementary
#8C4BE0 #E0D64B #54E04B
monochromatic
#501A97 #6C23CB #8C4BE0 #AD7FE9 #CFB3F2

Accessibility & contrast

On white

5.00
#8C4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8C4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BE0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BE0#FFFFFF#000000##FFFFFF
##8C4BE01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#796E8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c4be0;
/* rgb */ color: rgb(140, 75, 224);
/* oklch */ color: oklch(56.7% 0.215 299.4);
Tailwind
colors: {
  custom: {
    50: '#b381eb',
    500: '#8c4be0',
    950: '#000000',
  },
}
SCSS
$custom: #8c4be0;
$custom-light: #b381eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4be0",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 266.174,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.21544,
    "h": 299.4
  },
  "luminance": 0.15989
}

Semantic roles & 50–950 ramp

primary
#8C4BE0
secondary
#C7E1A6
accent
#ED3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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