#8D4FBE#8D4FBE

#8D4FBE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.172 H 307.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D4FBE
RGBrgb(141, 79, 190)
HSLhsl(274, 46%, 53%)
HSVhsv(274, 58%, 75%)
CMYKcmyk(25.8%, 58.4%, 0%, 25.5%)
CIE-LABlab(45.60, 46.40, -48.49)
CIE-LCHlch(45.60, 67.11, 313.74°)
OKLaboklab(55.08% 0.1047 -0.1366)
OKLCHoklch(55.08% 0.172 307.5)
XYZxyz(23.0728, 14.9727, 50.3797)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FBE #80BE4F
analogous
#564FBE #8D4FBE #BE4FB7
triadic
#8D4FBE #BE8D4F #4FBE8D
tetradic
#8D4FBE #BE564F #80BE4F #4FB7BE
square
#8D4FBE #BE564F #80BE4F #4FB7BE
split-complementary
#8D4FBE #B7BE4F #4FBE56
monochromatic
#4D286B #6E3898 #8D4FBE #AA7CCF #C7A8DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4FBE#FFFFFF#000000##FFFFFF
##8D4FBE1.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)
#246AC2
Deuteranopia (green-blind)
#3E6DBB
Tritanopia (blue-blind)
#85647F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4fbe;
/* rgb */ color: rgb(141, 79, 190);
/* oklch */ color: oklch(55.1% 0.172 307.5);
Tailwind
colors: {
  custom: {
    50: '#b183d2',
    500: '#8d4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fbe;
$custom-light: #b183d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fbe",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 273.514,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.17212,
    "h": 307.5
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#8D4FBE
secondary
#B2CC9C
accent
#D6528C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8D4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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