#8D50E3#8D50E3

#8D50E3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.213 H 298.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D50E3
RGBrgb(141, 80, 227)
HSLhsl(265, 72%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(37.9%, 64.8%, 0%, 11%)
CIE-LABlab(48.19, 54.87, -65.54)
CIE-LCHlch(48.19, 85.47, 309.94°)
OKLaboklab(57.73% 0.1016 -0.1867)
OKLCHoklch(57.73% 0.213 298.6)
XYZxyz(27.7148, 16.9457, 74.4688)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50E3 #A6E350
analogous
#505CE3 #8D50E3 #D750E3
triadic
#8D50E3 #E38D50 #50E38D
tetradic
#8D50E3 #E3505C #A6E350 #50E3D7
square
#8D50E3 #E3505C #A6E350 #50E3D7
split-complementary
#8D50E3 #E3D750 #5CE350
monochromatic
#51199F #6C22D4 #8D50E3 #AF85EB #D2BAF4

Accessibility & contrast

On white

4.78
#8D50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8D50E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50E3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50E3#FFFFFF#000000##FFFFFF
##8D50E31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#797293
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d50e3;
/* rgb */ color: rgb(141, 80, 227);
/* oklch */ color: oklch(57.7% 0.213 298.6);
Tailwind
colors: {
  custom: {
    50: '#b485ed',
    500: '#8d50e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d50e3;
$custom-light: #b485ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50e3",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 264.898,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.21258,
    "h": 298.6
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#8D50E3
secondary
#CCE4AB
accent
#D41183
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D50E3

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

Preview Lab → · Contrast checker → · Palette generator →

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