#8C4BDB#8C4BDB

#8C4BDB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.210 H 300.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8C4BDB
RGBrgb(140, 75, 219)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 66%, 86%)
CMYKcmyk(36.1%, 65.8%, 0%, 14.1%)
CIE-LABlab(46.61, 55.19, -63.56)
CIE-LCHlch(46.61, 84.18, 310.97°)
OKLaboklab(56.38% 0.1065 -0.1809)
OKLCHoklch(56.38% 0.21 300.5)
XYZxyz(26.1144, 15.7219, 68.6629)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BDB #9ADB4B
analogous
#4B52DB #8C4BDB #D44BDB
triadic
#8C4BDB #DB8C4B #4BDB8C
tetradic
#8C4BDB #DB4B52 #9ADB4B #4BDBD4
square
#8C4BDB #DB4B52 #9ADB4B #4BDBD4
split-complementary
#8C4BDB #DBD44B #52DB4B
monochromatic
#501D8F #6D27C2 #8C4BDB #AD7EE5 #CDB1EF

Accessibility & contrast

On white

5.07
#8C4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8C4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BDB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BDB#FFFFFF#000000##FFFFFF
##8C4BDB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7B6C8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8c4bdb;
/* rgb */ color: rgb(140, 75, 219);
/* oklch */ color: oklch(56.4% 0.210 300.5);
Tailwind
colors: {
  custom: {
    50: '#b381e7',
    500: '#8c4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8c4bdb;
$custom-light: #b381e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4bdb",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 267.083,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56383,
    "c": 0.20995,
    "h": 300.5
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#8C4BDB
secondary
#C4DEA4
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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