#8D48E3#8D48E3

#8D48E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.223 H 299.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8D48E3
RGBrgb(141, 72, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37.9%, 68.3%, 0%, 11%)
CIE-LABlab(46.77, 58.79, -67.85)
CIE-LCHlch(46.77, 89.78, 310.91°)
OKLaboklab(56.7% 0.1099 -0.1935)
OKLCHoklch(56.7% 0.223 299.6)
XYZxyz(27.1635, 15.8432, 74.2851)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48E3 #9EE348
analogous
#4850E3 #8D48E3 #DB48E3
triadic
#8D48E3 #E38D48 #48E38D
tetradic
#8D48E3 #E34850 #9EE348 #48E3DB
square
#8D48E3 #E34850 #9EE348 #48E3DB
split-complementary
#8D48E3 #E3DB48 #50E348
monochromatic
#511799 #6D20CE #8D48E3 #AE7DEB #CFB2F3

Accessibility & contrast

On white

5.04
#8D48E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8D48E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48E3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48E3#FFFFFF#000000##FFFFFF
##8D48E31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#796D90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d48e3;
/* rgb */ color: rgb(141, 72, 227);
/* oklch */ color: oklch(56.7% 0.223 299.6);
Tailwind
colors: {
  custom: {
    50: '#b580ed',
    500: '#8d48e3',
    950: '#000000',
  },
}
SCSS
$custom: #8d48e3;
$custom-light: #b580ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48e3",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 227
  },
  "hsl": {
    "h": 266.71,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.22251,
    "h": 299.6
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#8D48E3
secondary
#C7E2A5
accent
#F0389E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D48E3

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

Preview Lab → · Contrast checker → · Palette generator →

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