#8D48D9#8D48D9

#8D48D9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.212 H 301.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8D48D9
RGBrgb(141, 72, 217)
HSLhsl(269, 66%, 57%)
HSVhsv(269, 67%, 85%)
CMYKcmyk(35%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.05, 56.37, -63.32)
CIE-LCHlch(46.05, 84.78, 311.68°)
OKLaboklab(55.97% 0.1113 -0.1802)
OKLCHoklch(55.97% 0.212 301.7)
XYZxyz(25.8233, 15.3071, 67.2263)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48D9 #94D948
analogous
#484CD9 #8D48D9 #D648D9
triadic
#8D48D9 #D98D48 #48D98D
tetradic
#8D48D9 #D9484C #94D948 #48D9D6
square
#8D48D9 #D9484C #94D948 #48D9D6
split-complementary
#8D48D9 #D9D648 #4CD948
monochromatic
#511D8A #6E27BD #8D48D9 #AD7BE4 #CCADEE

Accessibility & contrast

On white

5.17
#8D48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8D48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48D9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48D9#FFFFFF#000000##FFFFFF
##8D48D91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#7D698B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8d48d9;
/* rgb */ color: rgb(141, 72, 217);
/* oklch */ color: oklch(56.0% 0.212 301.7);
Tailwind
colors: {
  custom: {
    50: '#b480e6',
    500: '#8d48d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d48d9;
$custom-light: #b480e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48d9",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 268.552,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55966,
    "c": 0.21175,
    "h": 301.7
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#8D48D9
secondary
#C0DCA1
accent
#E93F98
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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