#8C50E2#8C50E2

#8C50E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.211 H 298.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8C50E2
RGBrgb(140, 80, 226)
HSLhsl(265, 72%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(38.1%, 64.6%, 0%, 11.4%)
CIE-LABlab(48.01, 54.42, -65.27)
CIE-LCHlch(48.01, 84.98, 309.82°)
OKLaboklab(57.55% 0.1004 -0.1859)
OKLCHoklch(57.55% 0.211 298.4)
XYZxyz(27.4079, 16.8034, 73.7361)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C50E2 #A6E250
analogous
#505DE2 #8C50E2 #D550E2
triadic
#8C50E2 #E28C50 #50E28C
tetradic
#8C50E2 #E2505D #A6E250 #50E2D5
square
#8C50E2 #E2505D #A6E250 #50E2D5
split-complementary
#8C50E2 #E2D550 #5DE250
monochromatic
#501A9E #6B23D2 #8C50E2 #AF84EB #D1B9F3

Accessibility & contrast

On white

4.82
#8C50E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8C50E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C50E2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C50E2#FFFFFF#000000##FFFFFF
##8C50E21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#787192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8c50e2;
/* rgb */ color: rgb(140, 80, 226);
/* oklch */ color: oklch(57.5% 0.211 298.4);
Tailwind
colors: {
  custom: {
    50: '#b384ec',
    500: '#8c50e2',
    950: '#000000',
  },
}
SCSS
$custom: #8c50e2;
$custom-light: #b384ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8c50e2",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 264.658,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.57548,
    "c": 0.21133,
    "h": 298.4
  },
  "luminance": 0.16804
}

Semantic roles & 50–950 ramp

primary
#8C50E2
secondary
#CCE3AB
accent
#EE39A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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