#8D48CD#8D48CD

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

Color values

HEX#8D48CD
RGBrgb(141, 72, 205)
HSLhsl(271, 57%, 54%)
HSVhsv(271, 65%, 80%)
CMYKcmyk(31.2%, 64.9%, 0%, 19.6%)
CIE-LABlab(45.23, 53.51, -57.77)
CIE-LCHlch(45.23, 78.74, 312.81°)
OKLaboklab(55.11% 0.1125 -0.1638)
OKLCHoklch(55.11% 0.199 304.5)
XYZxyz(24.3188, 14.7053, 59.3030)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48CD #88CD48
analogous
#4B48CD #8D48CD #CD48CB
triadic
#8D48CD #CD8D48 #48CD8D
tetradic
#8D48CD #CD4B48 #88CD48 #48CBCD
square
#8D48CD #CD4B48 #88CD48 #48CBCD
split-complementary
#8D48CD #CBCD48 #48CD4B
monochromatic
#4F2179 #6E2EA9 #8D48CD #AB78DA #C9A8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D48CD#FFFFFF#000000##FFFFFF
##8D48CD1.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)
#0069D1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#816584
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d48cd;
/* rgb */ color: rgb(141, 72, 205);
/* oklch */ color: oklch(55.1% 0.199 304.5);
Tailwind
colors: {
  custom: {
    50: '#b37fdd',
    500: '#8d48cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d48cd;
$custom-light: #b37fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48cd",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 271.128,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.19875,
    "h": 304.5
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#8D48CD
secondary
#B7D59C
accent
#E04791
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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