#8C4CE6#8C4CE6

#8C4CE6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.221 H 298.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8C4CE6
RGBrgb(140, 76, 230)
HSLhsl(265, 75%, 60%)
HSVhsv(265, 67%, 90%)
CMYKcmyk(39.1%, 67%, 0%, 9.8%)
CIE-LABlab(47.57, 57.41, -68.25)
CIE-LCHlch(47.57, 89.19, 310.07°)
OKLaboklab(57.32% 0.1041 -0.1947)
OKLCHoklch(57.32% 0.221 298.1)
XYZxyz(27.6789, 16.4571, 76.5658)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4CE6 #A6E64C
analogous
#4C59E6 #8C4CE6 #D94CE6
triadic
#8C4CE6 #E68C4C #4CE68C
tetradic
#8C4CE6 #E64C59 #A6E64C #4CE6D9
square
#8C4CE6 #E64C59 #A6E64C #4CE6D9
split-complementary
#8C4CE6 #E6D94C #59E64C
monochromatic
#5017A1 #6B1ED7 #8C4CE6 #AE82ED #D1B7F5

Accessibility & contrast

On white

4.89
#8C4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8C4CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4CE6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4CE6#FFFFFF#000000##FFFFFF
##8C4CE61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#767093
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8c4ce6;
/* rgb */ color: rgb(140, 76, 230);
/* oklch */ color: oklch(57.3% 0.221 298.1);
Tailwind
colors: {
  custom: {
    50: '#b482ef',
    500: '#8c4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #8c4ce6;
$custom-light: #b482ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4ce6",
  "rgb": {
    "r": 140,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 264.935,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.22079,
    "h": 298.1
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#8C4CE6
secondary
#CCE5A9
accent
#F236A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8C4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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