#8D48BF#8D48BF

#8D48BF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.184 H 308.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8D48BF
RGBrgb(141, 72, 191)
HSLhsl(275, 48%, 52%)
HSVhsv(275, 62%, 75%)
CMYKcmyk(26.2%, 62.3%, 0%, 25.1%)
CIE-LABlab(44.32, 50.24, -51.12)
CIE-LCHlch(44.32, 71.68, 314.50°)
OKLaboklab(54.17% 0.1134 -0.1443)
OKLCHoklch(54.17% 0.184 308.1)
XYZxyz(22.7039, 14.0594, 50.7978)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48BF #7ABF48
analogous
#5248BF #8D48BF #BF48B6
triadic
#8D48BF #BF8D48 #48BF8D
tetradic
#8D48BF #BF5248 #7ABF48 #48B6BF
square
#8D48BF #BF5248 #7ABF48 #48B6BF
split-complementary
#8D48BF #B6BF48 #48BF52
monochromatic
#4C2468 #6D3496 #8D48BF #A975CF #C5A3DF

Accessibility & contrast

On white

5.51
#8D48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8D48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48BF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48BF#FFFFFF#000000##FFFFFF
##8D48BF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#85607D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d48bf;
/* rgb */ color: rgb(141, 72, 191);
/* oklch */ color: oklch(54.2% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#b27fd3',
    500: '#8d48bf',
    950: '#000000',
  },
}
SCSS
$custom: #8d48bf;
$custom-light: #b27fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48bf",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 274.79,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.18352,
    "h": 308.1
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#8D48BF
secondary
#ADCC97
accent
#D85089
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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