#8D48D4#8D48D4

#8D48D4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.206 H 302.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8D48D4
RGBrgb(141, 72, 212)
HSLhsl(270, 62%, 56%)
HSVhsv(270, 66%, 83%)
CMYKcmyk(33.5%, 66%, 0%, 16.9%)
CIE-LABlab(45.70, 55.17, -61.02)
CIE-LCHlch(45.70, 82.26, 312.12°)
OKLaboklab(55.61% 0.1118 -0.1734)
OKLCHoklch(55.61% 0.206 302.8)
XYZxyz(25.1828, 15.0509, 63.8530)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48D4 #8FD448
analogous
#4849D4 #8D48D4 #D348D4
triadic
#8D48D4 #D48D48 #48D48D
tetradic
#8D48D4 #D44849 #8FD448 #48D4D3
square
#8D48D4 #D44849 #8FD448 #48D4D3
split-complementary
#8D48D4 #D4D348 #49D448
monochromatic
#501F83 #6E2AB4 #8D48D4 #AC7AE0 #CBABEB

Accessibility & contrast

On white

5.24
#8D48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8D48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48D4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48D4#FFFFFF#000000##FFFFFF
##8D48D41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#0C6CD1
Tritanopia (blue-blind)
#7F6788
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d48d4;
/* rgb */ color: rgb(141, 72, 212);
/* oklch */ color: oklch(55.6% 0.206 302.8);
Tailwind
colors: {
  custom: {
    50: '#b37fe2',
    500: '#8d48d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d48d4;
$custom-light: #b37fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48d4",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 269.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.20634,
    "h": 302.8
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#8D48D4
secondary
#BCD99F
accent
#E54395
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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