#8D48E7#8D48E7

#8D48E7 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.227 H 298.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D48E7
RGBrgb(141, 72, 231)
HSLhsl(266, 77%, 59%)
HSVhsv(266, 69%, 91%)
CMYKcmyk(39%, 68.8%, 0%, 9.4%)
CIE-LABlab(47.06, 59.77, -69.63)
CIE-LCHlch(47.06, 91.77, 310.64°)
OKLaboklab(57.01% 0.1093 -0.1987)
OKLCHoklch(57.01% 0.227 298.8)
XYZxyz(27.7220, 16.0666, 77.2264)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48E7 #A2E748
analogous
#4852E7 #8D48E7 #DD48E7
triadic
#8D48E7 #E78D48 #48E78D
tetradic
#8D48E7 #E74852 #A2E748 #48E7DD
square
#8D48E7 #E74852 #A2E748 #48E7DD
split-complementary
#8D48E7 #E7DD48 #52E748
monochromatic
#5115A0 #6D1CD6 #8D48E7 #AF7EEE #D0B4F5

Accessibility & contrast

On white

4.98
#8D48E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8D48E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48E7#FFFFFF#000000##FFFFFF
##8D48E71.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#786E92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d48e7;
/* rgb */ color: rgb(141, 72, 231);
/* oklch */ color: oklch(57.0% 0.227 298.8);
Tailwind
colors: {
  custom: {
    50: '#b580f0',
    500: '#8d48e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d48e7;
$custom-light: #b580f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48e7",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 266.038,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.22679,
    "h": 298.8
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#8D48E7
secondary
#C9E4A6
accent
#F334A1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D48E7

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

Preview Lab → · Contrast checker → · Palette generator →

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