#8D50E7#8D50E7

#8D50E7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.217 H 297.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D50E7
RGBrgb(141, 80, 231)
HSLhsl(264, 76%, 61%)
HSVhsv(264, 65%, 91%)
CMYKcmyk(39%, 65.4%, 0%, 9.4%)
CIE-LABlab(48.47, 55.87, -67.34)
CIE-LCHlch(48.47, 87.50, 309.68°)
OKLaboklab(58.02% 0.1012 -0.192)
OKLCHoklch(58.02% 0.217 297.8)
XYZxyz(28.2733, 17.1691, 77.4102)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50E7 #AAE750
analogous
#505EE7 #8D50E7 #D850E7
triadic
#8D50E7 #E78D50 #50E78D
tetradic
#8D50E7 #E7505E #AAE750 #50E7D8
square
#8D50E7 #E7505E #AAE750 #50E7D8
split-complementary
#8D50E7 #E7D850 #5EE750
monochromatic
#5117A6 #6B1EDC #8D50E7 #B086EE #D3BCF6

Accessibility & contrast

On white

4.74
#8D50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50E7#FFFFFF#000000##FFFFFF
##8D50E71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#777395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d50e7;
/* rgb */ color: rgb(141, 80, 231);
/* oklch */ color: oklch(58.0% 0.217 297.8);
Tailwind
colors: {
  custom: {
    50: '#b485f0',
    500: '#8d50e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d50e7;
$custom-light: #b485f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50e7",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 264.238,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.21706,
    "h": 297.8
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#8D50E7
secondary
#CFE6AD
accent
#D80D86
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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