#8D48DB#8D48DB

#8D48DB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.214 H 301.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D48DB
RGBrgb(141, 72, 219)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 67%, 86%)
CMYKcmyk(35.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.19, 56.85, -64.23)
CIE-LCHlch(46.19, 85.78, 311.51°)
OKLaboklab(56.11% 0.111 -0.1828)
OKLCHoklch(56.11% 0.214 301.3)
XYZxyz(26.0850, 15.4118, 68.6046)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48DB #96DB48
analogous
#484DDB #8D48DB #D648DB
triadic
#8D48DB #DB8D48 #48DB8D
tetradic
#8D48DB #DB484D #96DB48 #48DBD6
square
#8D48DB #DB484D #96DB48 #48DBD6
split-complementary
#8D48DB #DBD648 #4DDB48
monochromatic
#511C8D #6E26C0 #8D48DB #AD7BE5 #CDAEEF

Accessibility & contrast

On white

5.14
#8D48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8D48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48DB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48DB#FFFFFF#000000##FFFFFF
##8D48DB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7C6A8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d48db;
/* rgb */ color: rgb(141, 72, 219);
/* oklch */ color: oklch(56.1% 0.214 301.3);
Tailwind
colors: {
  custom: {
    50: '#b480e7',
    500: '#8d48db',
    950: '#000000',
  },
}
SCSS
$custom: #8d48db;
$custom-light: #b480e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48db",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 268.163,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.2139,
    "h": 301.3
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#8D48DB
secondary
#C1DDA2
accent
#EA3E99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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