#8C50D2#8C50D2

#8C50D2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.193 H 301.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8C50D2
RGBrgb(140, 80, 210)
HSLhsl(268, 59%, 57%)
HSVhsv(268, 62%, 82%)
CMYKcmyk(33.3%, 61.9%, 0%, 17.6%)
CIE-LABlab(46.93, 50.45, -57.90)
CIE-LCHlch(46.93, 76.79, 311.06°)
OKLaboklab(56.42% 0.1017 -0.1643)
OKLCHoklch(56.42% 0.193 301.8)
XYZxyz(25.3140, 15.9658, 62.7084)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C50D2 #96D250
analogous
#5055D2 #8C50D2 #CD50D2
triadic
#8C50D2 #D28C50 #50D28C
tetradic
#8C50D2 #D25055 #96D250 #50D2CD
square
#8C50D2 #D25055 #96D250 #50D2CD
split-complementary
#8C50D2 #D2CD50 #55D250
monochromatic
#502285 #6D2FB6 #8C50D2 #AC81DF #CCB1EB

Accessibility & contrast

On white

5.01
#8C50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8C50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C50D2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C50D2#FFFFFF#000000##FFFFFF
##8C50D21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#256FCF
Tritanopia (blue-blind)
#7E6C8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c50d2;
/* rgb */ color: rgb(140, 80, 210);
/* oklch */ color: oklch(56.4% 0.193 301.8);
Tailwind
colors: {
  custom: {
    50: '#b284e0',
    500: '#8c50d2',
    950: '#000000',
  },
}
SCSS
$custom: #8c50d2;
$custom-light: #b284e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c50d2",
  "rgb": {
    "r": 140,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 267.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56423,
    "c": 0.1932,
    "h": 301.8
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#8C50D2
secondary
#C1D9A4
accent
#E2469A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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