#8C50DF#8C50DF

#8C50DF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.208 H 299.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8C50DF
RGBrgb(140, 80, 223)
HSLhsl(265, 69%, 59%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.2%, 64.1%, 0%, 12.5%)
CIE-LABlab(47.80, 53.67, -63.90)
CIE-LCHlch(47.80, 83.45, 310.02°)
OKLaboklab(57.33% 0.1007 -0.1819)
OKLCHoklch(57.33% 0.208 299)
XYZxyz(26.9998, 16.6402, 71.5871)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C50DF #A3DF50
analogous
#505CDF #8C50DF #D450DF
triadic
#8C50DF #DF8C50 #50DF8C
tetradic
#8C50DF #DF505C #A3DF50 #50DFD4
square
#8C50DF #DF505C #A3DF50 #50DFD4
split-complementary
#8C50DF #DFD450 #5CDF50
monochromatic
#501C99 #6B25CC #8C50DF #AE84E8 #D0B7F2

Accessibility & contrast

On white

4.85
#8C50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8C50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C50DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C50DF#FFFFFF#000000##FFFFFF
##8C50DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#797090
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8c50df;
/* rgb */ color: rgb(140, 80, 223);
/* oklch */ color: oklch(57.3% 0.208 299.0);
Tailwind
colors: {
  custom: {
    50: '#b384ea',
    500: '#8c50df',
    950: '#000000',
  },
}
SCSS
$custom: #8c50df;
$custom-light: #b384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8c50df",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 265.175,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.20795,
    "h": 299
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#8C50DF
secondary
#CAE1AA
accent
#EC3CA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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