#8D4BC1#8D4BC1

#8D4BC1 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.181 H 307.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D4BC1
RGBrgb(141, 75, 193)
HSLhsl(274, 49%, 53%)
HSVhsv(274, 61%, 76%)
CMYKcmyk(26.9%, 61.1%, 0%, 24.3%)
CIE-LABlab(45.01, 49.18, -51.18)
CIE-LCHlch(45.01, 70.98, 313.86°)
OKLaboklab(54.7% 0.1096 -0.1445)
OKLCHoklch(54.7% 0.181 307.2)
XYZxyz(23.1242, 14.5454, 52.0311)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BC1 #7FC14B
analogous
#524BC1 #8D4BC1 #C14BBA
triadic
#8D4BC1 #C18D4B #4BC18D
tetradic
#8D4BC1 #C1524B #7FC14B #4BBAC1
square
#8D4BC1 #C1524B #7FC14B #4BBAC1
split-complementary
#8D4BC1 #BAC14B #4BC152
monochromatic
#4D256C #6D359A #8D4BC1 #AA79D1 #C7A6E0

Accessibility & contrast

On white

5.37
#8D4BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8D4BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BC1
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BC1#FFFFFF#000000##FFFFFF
##8D4BC11.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1068C5
Deuteranopia (green-blind)
#366BBE
Tritanopia (blue-blind)
#85627F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d4bc1;
/* rgb */ color: rgb(141, 75, 193);
/* oklch */ color: oklch(54.7% 0.181 307.2);
Tailwind
colors: {
  custom: {
    50: '#b281d4',
    500: '#8d4bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bc1;
$custom-light: #b281d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bc1",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 273.559,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.18139,
    "h": 307.2
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#8D4BC1
secondary
#B1CE9A
accent
#D84F8C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D4BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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