#8D48D5#8D48D5

#8D48D5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.207 H 302.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D48D5
RGBrgb(141, 72, 213)
HSLhsl(269, 63%, 56%)
HSVhsv(269, 66%, 84%)
CMYKcmyk(33.8%, 66.2%, 0%, 16.5%)
CIE-LABlab(45.77, 55.41, -61.48)
CIE-LCHlch(45.77, 82.77, 312.03°)
OKLaboklab(55.68% 0.1117 -0.1748)
OKLCHoklch(55.68% 0.207 302.6)
XYZxyz(25.3093, 15.1015, 64.5194)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48D5 #90D548
analogous
#4849D5 #8D48D5 #D448D5
triadic
#8D48D5 #D58D48 #48D58D
tetradic
#8D48D5 #D54849 #90D548 #48D5D4
square
#8D48D5 #D54849 #90D548 #48D5D4
split-complementary
#8D48D5 #D5D448 #49D548
monochromatic
#501E84 #6E2AB6 #8D48D5 #AC7AE0 #CBACEC

Accessibility & contrast

On white

5.22
#8D48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8D48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48D5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48D5#FFFFFF#000000##FFFFFF
##8D48D51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#066CD2
Tritanopia (blue-blind)
#7F6889
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d48d5;
/* rgb */ color: rgb(141, 72, 213);
/* oklch */ color: oklch(55.7% 0.207 302.6);
Tailwind
colors: {
  custom: {
    50: '#b37fe3',
    500: '#8d48d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d48d5;
$custom-light: #b37fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48d5",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 269.362,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.20742,
    "h": 302.6
  },
  "luminance": 0.15102
}

Semantic roles & 50–950 ramp

primary
#8D48D5
secondary
#BDDA9F
accent
#E64296
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8D48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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