#8C4BDD#8C4BDD

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

Color values

HEX#8C4BDD
RGBrgb(140, 75, 221)
HSLhsl(267, 68%, 58%)
HSVhsv(267, 66%, 87%)
CMYKcmyk(36.7%, 66.1%, 0%, 13.3%)
CIE-LABlab(46.75, 55.68, -64.48)
CIE-LCHlch(46.75, 85.19, 310.81°)
OKLaboklab(56.53% 0.1063 -0.1836)
OKLCHoklch(56.53% 0.212 300.1)
XYZxyz(26.3792, 15.8278, 70.0579)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BDD #9CDD4B
analogous
#4B53DD #8C4BDD #D54BDD
triadic
#8C4BDD #DD8C4B #4BDD8C
tetradic
#8C4BDD #DD4B53 #9CDD4B #4BDDD5
square
#8C4BDD #DD4B53 #9CDD4B #4BDDD5
split-complementary
#8C4BDD #DDD54B #53DD4B
monochromatic
#501C92 #6D25C5 #8C4BDD #AD7EE7 #CEB2F0

Accessibility & contrast

On white

5.04
#8C4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8C4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BDD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BDD#FFFFFF#000000##FFFFFF
##8C4BDD1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#7A6D8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c4bdd;
/* rgb */ color: rgb(140, 75, 221);
/* oklch */ color: oklch(56.5% 0.212 300.1);
Tailwind
colors: {
  custom: {
    50: '#b381e8',
    500: '#8c4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8c4bdd;
$custom-light: #b381e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4bdd",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 266.712,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.21215,
    "h": 300.1
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#8C4BDD
secondary
#C5DFA5
accent
#EB3D9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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