#8C4BCF#8C4BCF

#8C4BCF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.197 H 303.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8C4BCF
RGBrgb(140, 75, 207)
HSLhsl(270, 58%, 55%)
HSVhsv(270, 64%, 81%)
CMYKcmyk(32.4%, 63.8%, 0%, 18.8%)
CIE-LABlab(45.79, 52.28, -58.02)
CIE-LCHlch(45.79, 78.10, 312.02°)
OKLaboklab(55.53% 0.1076 -0.1646)
OKLCHoklch(55.53% 0.197 303.2)
XYZxyz(24.5912, 15.1126, 60.6409)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BCF #8ECF4B
analogous
#4B4CCF #8C4BCF #CE4BCF
triadic
#8C4BCF #CF8C4B #4BCF8C
tetradic
#8C4BCF #CF4B4C #8ECF4B #4BCFCE
square
#8C4BCF #CF4B4C #8ECF4B #4BCFCE
split-complementary
#8C4BCF #CFCE4B #4CCF4B
monochromatic
#4F227E #6D2EAE #8C4BCF #AB7BDC #CAACE9

Accessibility & contrast

On white

5.22
#8C4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8C4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BCF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BCF#FFFFFF#000000##FFFFFF
##8C4BCF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#206CCC
Tritanopia (blue-blind)
#7F6786
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8c4bcf;
/* rgb */ color: rgb(140, 75, 207);
/* oklch */ color: oklch(55.5% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#b281de',
    500: '#8c4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8c4bcf;
$custom-light: #b281de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4bcf",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 269.545,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.19669,
    "h": 303.2
  },
  "luminance": 0.15113
}

Semantic roles & 50–950 ramp

primary
#8C4BCF
secondary
#BBD69F
accent
#E14795
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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