#8D50BA#8D50BA

#8D50BA is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.166 H 308.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D50BA
RGBrgb(141, 80, 186)
HSLhsl(275, 43%, 52%)
HSVhsv(275, 57%, 73%)
CMYKcmyk(24.2%, 57%, 0%, 27.1%)
CIE-LABlab(45.56, 44.94, -46.22)
CIE-LCHlch(45.56, 64.46, 314.20°)
OKLaboklab(54.97% 0.1033 -0.13)
OKLCHoklch(54.97% 0.166 308.5)
XYZxyz(22.7143, 14.9455, 48.1330)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D50BA #7DBA50
analogous
#5850BA #8D50BA #BA50B2
triadic
#8D50BA #BA8D50 #50BA8D
tetradic
#8D50BA #BA5850 #7DBA50 #50B2BA
square
#8D50BA #BA5850 #7DBA50 #50B2BA
split-complementary
#8D50BA #B2BA50 #50BA58
monochromatic
#4D2967 #6D3A93 #8D50BA #AA7CCB #C6A8DD

Accessibility & contrast

On white

5.26
#8D50BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8D50BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D50BA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D50BA#FFFFFF#000000##FFFFFF
##8D50BA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#426DB7
Tritanopia (blue-blind)
#87647D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d50ba;
/* rgb */ color: rgb(141, 80, 186);
/* oklch */ color: oklch(55.0% 0.166 308.5);
Tailwind
colors: {
  custom: {
    50: '#b184cf',
    500: '#8d50ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d50ba;
$custom-light: #b184cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d50ba",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 274.528,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.16602,
    "h": 308.5
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#8D50BA
secondary
#AFCA9C
accent
#D3558A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D50BA

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

Preview Lab → · Contrast checker → · Palette generator →

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