#8D4ACB#8D4ACB

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

Color values

HEX#8D4ACB
RGBrgb(141, 74, 203)
HSLhsl(271, 55%, 54%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(30.5%, 63.5%, 0%, 20.4%)
CIE-LABlab(45.46, 52.04, -56.24)
CIE-LCHlch(45.46, 76.63, 312.78°)
OKLaboklab(55.24% 0.1104 -0.1594)
OKLCHoklch(55.24% 0.194 304.7)
XYZxyz(24.2104, 14.8722, 58.0835)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4ACB #88CB4A
analogous
#4D4ACB #8D4ACB #CB4AC9
triadic
#8D4ACB #CB8D4A #4ACB8D
tetradic
#8D4ACB #CB4D4A #88CB4A #4AC9CB
square
#8D4ACB #CB4D4A #88CB4A #4AC9CB
split-complementary
#8D4ACB #C9CB4A #4ACB4D
monochromatic
#4F2378 #6E30A8 #8D4ACB #AB7AD9 #C9A9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4ACB#FFFFFF#000000##FFFFFF
##8D4ACB1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#826584
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d4acb;
/* rgb */ color: rgb(141, 74, 203);
/* oklch */ color: oklch(55.2% 0.194 304.7);
Tailwind
colors: {
  custom: {
    50: '#b380dc',
    500: '#8d4acb',
    950: '#000000',
  },
}
SCSS
$custom: #8d4acb;
$custom-light: #b380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4acb",
  "rgb": {
    "r": 141,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 271.163,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.19385,
    "h": 304.7
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#8D4ACB
secondary
#B7D49D
accent
#DF4991
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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