#8D48CA#8D48CA

#8D48CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.195 H 305.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D48CA
RGBrgb(141, 72, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 64%, 79%)
CMYKcmyk(30.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(45.03, 52.80, -56.36)
CIE-LCHlch(45.03, 77.23, 313.13°)
OKLaboklab(54.91% 0.1128 -0.1597)
OKLCHoklch(54.91% 0.195 305.2)
XYZxyz(23.9602, 14.5619, 57.4141)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48CA #85CA48
analogous
#4C48CA #8D48CA #CA48C6
triadic
#8D48CA #CA8D48 #48CA8D
tetradic
#8D48CA #CA4C48 #85CA48 #48C6CA
square
#8D48CA #CA4C48 #85CA48 #48C6CA
split-complementary
#8D48CA #C6CA48 #48CA4C
monochromatic
#4E2276 #6E30A5 #8D48CA #AB77D8 #C8A7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D48CA#FFFFFF#000000##FFFFFF
##8D48CA1.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)
#0069CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#826483
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d48ca;
/* rgb */ color: rgb(141, 72, 202);
/* oklch */ color: oklch(54.9% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#b37fdb',
    500: '#8d48ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d48ca;
$custom-light: #b37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48ca",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 271.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.19549,
    "h": 305.2
  },
  "luminance": 0.14562
}

Semantic roles & 50–950 ramp

primary
#8D48CA
secondary
#B5D39B
accent
#DE498F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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