#8D48D1#8D48D1

#8D48D1 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.203 H 303.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8D48D1
RGBrgb(141, 72, 209)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(32.5%, 65.6%, 0%, 18%)
CIE-LABlab(45.50, 54.46, -59.63)
CIE-LCHlch(45.50, 80.76, 312.40°)
OKLaboklab(55.39% 0.1121 -0.1693)
OKLCHoklch(55.39% 0.203 303.5)
XYZxyz(24.8079, 14.9009, 61.8785)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48D1 #8CD148
analogous
#4948D1 #8D48D1 #D148D0
triadic
#8D48D1 #D18D48 #48D18D
tetradic
#8D48D1 #D14948 #8CD148 #48D0D1
square
#8D48D1 #D14948 #8CD148 #48D0D1
split-complementary
#8D48D1 #D0D148 #48D149
monochromatic
#50207F #6E2CB0 #8D48D1 #AB79DD #CAAAEA

Accessibility & contrast

On white

5.28
#8D48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8D48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48D1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48D1#FFFFFF#000000##FFFFFF
##8D48D11.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#166BCE
Tritanopia (blue-blind)
#806686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8d48d1;
/* rgb */ color: rgb(141, 72, 209);
/* oklch */ color: oklch(55.4% 0.203 303.5);
Tailwind
colors: {
  custom: {
    50: '#b37fe0',
    500: '#8d48d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d48d1;
$custom-light: #b37fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48d1",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 270.219,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.20309,
    "h": 303.5
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#8D48D1
secondary
#BAD79E
accent
#E34593
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8D48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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