#8C50CD#8C50CD

#8C50CD is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.188 H 302.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8C50CD
RGBrgb(140, 80, 205)
HSLhsl(269, 56%, 56%)
HSVhsv(269, 61%, 80%)
CMYKcmyk(31.7%, 61%, 0%, 19.6%)
CIE-LABlab(46.61, 49.22, -55.55)
CIE-LCHlch(46.61, 74.22, 311.54°)
OKLaboklab(56.08% 0.1019 -0.1574)
OKLCHoklch(56.08% 0.188 302.9)
XYZxyz(24.7008, 15.7206, 59.4788)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C50CD #91CD50
analogous
#5052CD #8C50CD #CB50CD
triadic
#8C50CD #CD8C50 #50CD8C
tetradic
#8C50CD #CD5052 #91CD50 #50CDCB
square
#8C50CD #CD5052 #91CD50 #50CDCB
split-complementary
#8C50CD #CDCB50 #52CD50
monochromatic
#4F247E #6D32AE #8C50CD #AB80DB #CBAFE8

Accessibility & contrast

On white

5.07
#8C50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8C50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C50CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C50CD#FFFFFF#000000##FFFFFF
##8C50CD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#7F6A87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8c50cd;
/* rgb */ color: rgb(140, 80, 205);
/* oklch */ color: oklch(56.1% 0.188 302.9);
Tailwind
colors: {
  custom: {
    50: '#b284dd',
    500: '#8c50cd',
    950: '#000000',
  },
}
SCSS
$custom: #8c50cd;
$custom-light: #b284dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c50cd",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 268.8,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.1875,
    "h": 302.9
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#8C50CD
secondary
#BDD6A2
accent
#DF4997
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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