#8C50DC#8C50DC

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

Color values

HEX#8C50DC
RGBrgb(140, 80, 220)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 64%, 86%)
CMYKcmyk(36.4%, 63.6%, 0%, 13.7%)
CIE-LABlab(47.60, 52.92, -62.53)
CIE-LCHlch(47.60, 81.92, 310.24°)
OKLaboklab(57.12% 0.101 -0.1779)
OKLCHoklch(57.12% 0.205 299.6)
XYZxyz(26.5990, 16.4798, 69.4758)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C50DC #A0DC50
analogous
#505ADC #8C50DC #D250DC
triadic
#8C50DC #DC8C50 #50DC8C
tetradic
#8C50DC #DC505A #A0DC50 #50DCD2
square
#8C50DC #DC505A #A0DC50 #50DCD2
split-complementary
#8C50DC #DCD250 #5ADC50
monochromatic
#501E94 #6C28C7 #8C50DC #AE83E6 #CFB6F0

Accessibility & contrast

On white

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

On black

4.30
#8C50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8C50DC#FFFFFF#000000##FFFFFF
##8C50DC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0770D9
Tritanopia (blue-blind)
#7A6F8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8c50dc;
/* rgb */ color: rgb(140, 80, 220);
/* oklch */ color: oklch(57.1% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#b384e8',
    500: '#8c50dc',
    950: '#000000',
  },
}
SCSS
$custom: #8c50dc;
$custom-light: #b384e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c50dc",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 265.714,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.20456,
    "h": 299.6
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#8C50DC
secondary
#C8DFA8
accent
#EA3EA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8C50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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