#8D4FBB#8D4FBB

#8D4FBB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.169 H 308.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D4FBB
RGBrgb(141, 79, 187)
HSLhsl(274, 44%, 52%)
HSVhsv(274, 58%, 73%)
CMYKcmyk(24.6%, 57.8%, 0%, 26.7%)
CIE-LABlab(45.42, 45.70, -47.03)
CIE-LCHlch(45.42, 65.58, 314.18°)
OKLaboklab(54.89% 0.1046 -0.1324)
OKLCHoklch(54.89% 0.169 308.3)
XYZxyz(22.7483, 14.8429, 48.6706)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FBB #7DBB4F
analogous
#574FBB #8D4FBB #BB4FB3
triadic
#8D4FBB #BB8D4F #4FBB8D
tetradic
#8D4FBB #BB574F #7DBB4F #4FB3BB
square
#8D4FBB #BB574F #7DBB4F #4FB3BB
split-complementary
#8D4FBB #B3BB4F #4FBB57
monochromatic
#4D2868 #6D3994 #8D4FBB #AA7BCC #C6A7DD

Accessibility & contrast

On white

5.29
#8D4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8D4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FBB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FBB#FFFFFF#000000##FFFFFF
##8D4FBB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#86637D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4fbb;
/* rgb */ color: rgb(141, 79, 187);
/* oklch */ color: oklch(54.9% 0.169 308.3);
Tailwind
colors: {
  custom: {
    50: '#b183d0',
    500: '#8d4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fbb;
$custom-light: #b183d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fbb",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 274.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54888,
    "c": 0.16871,
    "h": 308.3
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#8D4FBB
secondary
#AFCA9B
accent
#D4548A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8D4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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