#8D48BE#8D48BE

#8D48BE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.182 H 308.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D48BE
RGBrgb(141, 72, 190)
HSLhsl(275, 48%, 51%)
HSVhsv(275, 62%, 75%)
CMYKcmyk(25.8%, 62.1%, 0%, 25.5%)
CIE-LABlab(44.26, 50.01, -50.64)
CIE-LCHlch(44.26, 71.17, 314.64°)
OKLaboklab(54.1% 0.1134 -0.1429)
OKLCHoklch(54.1% 0.182 308.4)
XYZxyz(22.5943, 14.0155, 50.2202)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48BE #79BE48
analogous
#5248BE #8D48BE #BE48B4
triadic
#8D48BE #BE8D48 #48BE8D
tetradic
#8D48BE #BE5248 #79BE48 #48B4BE
square
#8D48BE #BE5248 #79BE48 #48B4BE
split-complementary
#8D48BE #B4BE48 #48BE52
monochromatic
#4B2567 #6C3594 #8D48BE #A975CE #C5A2DE

Accessibility & contrast

On white

5.52
#8D48BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8D48BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48BE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48BE#FFFFFF#000000##FFFFFF
##8D48BE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B66C2
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#865F7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d48be;
/* rgb */ color: rgb(141, 72, 190);
/* oklch */ color: oklch(54.1% 0.182 308.4);
Tailwind
colors: {
  custom: {
    50: '#b27fd2',
    500: '#8d48be',
    950: '#000000',
  },
}
SCSS
$custom: #8d48be;
$custom-light: #b27fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48be",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 275.085,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.541,
    "c": 0.18243,
    "h": 308.4
  },
  "luminance": 0.14015
}

Semantic roles & 50–950 ramp

primary
#8D48BE
secondary
#ACCB97
accent
#D75188
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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