#8C4BDC#8C4BDC

#8C4BDC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.211 H 300.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8C4BDC
RGBrgb(140, 75, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 66%, 86%)
CMYKcmyk(36.4%, 65.9%, 0%, 13.7%)
CIE-LABlab(46.68, 55.44, -64.02)
CIE-LCHlch(46.68, 84.69, 310.89°)
OKLaboklab(56.46% 0.1064 -0.1823)
OKLCHoklch(56.46% 0.211 300.3)
XYZxyz(26.2464, 15.7747, 69.3583)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BDC #9BDC4B
analogous
#4B52DC #8C4BDC #D54BDC
triadic
#8C4BDC #DC8C4B #4BDC8C
tetradic
#8C4BDC #DC4B52 #9BDC4B #4BDCD5
square
#8C4BDC #DC4B52 #9BDC4B #4BDCD5
split-complementary
#8C4BDC #DCD54B #52DC4B
monochromatic
#501C91 #6D26C4 #8C4BDC #AD7EE6 #CDB1F0

Accessibility & contrast

On white

5.05
#8C4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8C4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BDC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BDC#FFFFFF#000000##FFFFFF
##8C4BDC1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7A6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c4bdc;
/* rgb */ color: rgb(140, 75, 220);
/* oklch */ color: oklch(56.5% 0.211 300.3);
Tailwind
colors: {
  custom: {
    50: '#b381e8',
    500: '#8c4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8c4bdc;
$custom-light: #b381e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4bdc",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 266.897,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.21105,
    "h": 300.3
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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