#8D4FB8#8D4FB8

#8D4FB8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.165 H 309.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D4FB8
RGBrgb(141, 79, 184)
HSLhsl(275, 43%, 52%)
HSVhsv(275, 57%, 72%)
CMYKcmyk(23.4%, 57.1%, 0%, 27.8%)
CIE-LABlab(45.24, 45.01, -45.56)
CIE-LCHlch(45.24, 64.04, 314.65°)
OKLaboklab(54.7% 0.1045 -0.128)
OKLCHoklch(54.7% 0.165 309.2)
XYZxyz(22.4305, 14.7157, 46.9969)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FB8 #7AB84F
analogous
#594FB8 #8D4FB8 #B84FAE
triadic
#8D4FB8 #B88D4F #4FB88D
tetradic
#8D4FB8 #B8594F #7AB84F #4FAEB8
square
#8D4FB8 #B8594F #7AB84F #4FAEB8
split-complementary
#8D4FB8 #AEB84F #4FB859
monochromatic
#4C2864 #6D3A90 #8D4FB8 #A97BCA #C5A6DB

Accessibility & contrast

On white

5.33
#8D4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8D4FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FB8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FB8#FFFFFF#000000##FFFFFF
##8D4FB81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BB
Deuteranopia (green-blind)
#436CB5
Tritanopia (blue-blind)
#87627C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d4fb8;
/* rgb */ color: rgb(141, 79, 184);
/* oklch */ color: oklch(54.7% 0.165 309.2);
Tailwind
colors: {
  custom: {
    50: '#b183ce',
    500: '#8d4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fb8;
$custom-light: #b183ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fb8",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 275.429,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.1653,
    "h": 309.2
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#8D4FB8
secondary
#ADC89A
accent
#D25689
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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