#8D48E1#8D48E1

#8D48E1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.220 H 300.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D48E1
RGBrgb(141, 72, 225)
HSLhsl(267, 72%, 58%)
HSVhsv(267, 68%, 88%)
CMYKcmyk(37.3%, 68%, 0%, 11.8%)
CIE-LABlab(46.62, 58.31, -66.95)
CIE-LCHlch(46.62, 88.78, 311.05°)
OKLaboklab(56.56% 0.1102 -0.1908)
OKLCHoklch(56.56% 0.22 300)
XYZxyz(26.8891, 15.7334, 72.8398)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48E1 #9CE148
analogous
#484FE1 #8D48E1 #DA48E1
triadic
#8D48E1 #E18D48 #48E18D
tetradic
#8D48E1 #E1484F #9CE148 #48E1DA
square
#8D48E1 #E1484F #9CE148 #48E1DA
split-complementary
#8D48E1 #E1DA48 #4FE148
monochromatic
#511996 #6E21CB #8D48E1 #AE7DEA #CFB1F2

Accessibility & contrast

On white

5.06
#8D48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8D48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48E1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48E1#FFFFFF#000000##FFFFFF
##8D48E11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d48e1;
/* rgb */ color: rgb(141, 72, 225);
/* oklch */ color: oklch(56.6% 0.220 300.0);
Tailwind
colors: {
  custom: {
    50: '#b480eb',
    500: '#8d48e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d48e1;
$custom-light: #b480eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48e1",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 267.059,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.22036,
    "h": 300
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#8D48E1
secondary
#C5E1A4
accent
#EF399D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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