#8D4FBC#8D4FBC

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

Color values

HEX#8D4FBC
RGBrgb(141, 79, 188)
HSLhsl(274, 45%, 52%)
HSVhsv(274, 58%, 74%)
CMYKcmyk(25%, 58%, 0%, 26.3%)
CIE-LABlab(45.48, 45.94, -47.52)
CIE-LCHlch(45.48, 66.09, 314.03°)
OKLaboklab(54.95% 0.1046 -0.1338)
OKLCHoklch(54.95% 0.17 308)
XYZxyz(22.8558, 14.8858, 49.2364)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FBC #7EBC4F
analogous
#564FBC #8D4FBC #BC4FB5
triadic
#8D4FBC #BC8D4F #4FBC8D
tetradic
#8D4FBC #BC564F #7EBC4F #4FB5BC
square
#8D4FBC #BC564F #7EBC4F #4FB5BC
split-complementary
#8D4FBC #B5BC4F #4FBC56
monochromatic
#4D2869 #6D3995 #8D4FBC #AA7BCD #C6A8DE

Accessibility & contrast

On white

5.28
#8D4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FBC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FBC#FFFFFF#000000##FFFFFF
##8D4FBC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#86647E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4fbc;
/* rgb */ color: rgb(141, 79, 188);
/* oklch */ color: oklch(55.0% 0.170 308.0);
Tailwind
colors: {
  custom: {
    50: '#b183d1',
    500: '#8d4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fbc;
$custom-light: #b183d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fbc",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 274.128,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.16984,
    "h": 308
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#8D4FBC
secondary
#B0CB9C
accent
#D5538B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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