#8C4BE4#8C4BE4

#8C4BE4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.220 H 298.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8C4BE4
RGBrgb(140, 75, 228)
HSLhsl(265, 74%, 59%)
HSVhsv(265, 67%, 89%)
CMYKcmyk(38.6%, 67.1%, 0%, 10.6%)
CIE-LABlab(47.25, 57.41, -67.64)
CIE-LCHlch(47.25, 88.72, 310.32°)
OKLaboklab(57.04% 0.1054 -0.1929)
OKLCHoklch(57.04% 0.22 298.6)
XYZxyz(27.3313, 16.2087, 75.0724)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BE4 #A3E44B
analogous
#4B57E4 #8C4BE4 #D84BE4
triadic
#8C4BE4 #E48C4B #4BE48C
tetradic
#8C4BE4 #E44B57 #A3E44B #4BE4D8
square
#8C4BE4 #E44B57 #A3E44B #4BE4D8
split-complementary
#8C4BE4 #E4D84B #57E44B
monochromatic
#50189D #6B20D2 #8C4BE4 #AE80EC #D0B5F4

Accessibility & contrast

On white

4.95
#8C4BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8C4BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BE4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BE4#FFFFFF#000000##FFFFFF
##8C4BE41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#776F92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8c4be4;
/* rgb */ color: rgb(140, 75, 228);
/* oklch */ color: oklch(57.0% 0.220 298.6);
Tailwind
colors: {
  custom: {
    50: '#b482ed',
    500: '#8c4be4',
    950: '#000000',
  },
}
SCSS
$custom: #8c4be4;
$custom-light: #b482ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4be4",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 265.49,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.21982,
    "h": 298.6
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#8C4BE4
secondary
#CAE3A8
accent
#F137A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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