#8D48E0#8D48E0

#8D48E0 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.219 H 300.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D48E0
RGBrgb(141, 72, 224)
HSLhsl(267, 71%, 58%)
HSVhsv(267, 68%, 88%)
CMYKcmyk(37.1%, 67.9%, 0%, 12.2%)
CIE-LABlab(46.55, 58.06, -66.50)
CIE-LCHlch(46.55, 88.28, 311.13°)
OKLaboklab(56.48% 0.1103 -0.1895)
OKLCHoklch(56.48% 0.219 300.2)
XYZxyz(26.7531, 15.6790, 72.1234)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48E0 #9BE048
analogous
#484FE0 #8D48E0 #D948E0
triadic
#8D48E0 #E08D48 #48E08D
tetradic
#8D48E0 #E0484F #9BE048 #48E0D9
square
#8D48E0 #E0484F #9BE048 #48E0D9
split-complementary
#8D48E0 #E0D948 #4FE048
monochromatic
#511994 #6E22C9 #8D48E0 #AE7CE9 #CEB1F2

Accessibility & contrast

On white

5.08
#8D48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8D48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48E0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48E0#FFFFFF#000000##FFFFFF
##8D48E01.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#7A6C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d48e0;
/* rgb */ color: rgb(141, 72, 224);
/* oklch */ color: oklch(56.5% 0.219 300.2);
Tailwind
colors: {
  custom: {
    50: '#b480eb',
    500: '#8d48e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d48e0;
$custom-light: #b480eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48e0",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 267.237,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.21928,
    "h": 300.2
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#8D48E0
secondary
#C5E0A4
accent
#EE3A9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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