#8D48EB#8D48EB

#8D48EB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.231 H 298.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D48EB
RGBrgb(141, 72, 235)
HSLhsl(265, 80%, 60%)
HSVhsv(265, 69%, 92%)
CMYKcmyk(40%, 69.4%, 0%, 7.8%)
CIE-LABlab(47.36, 60.75, -71.41)
CIE-LCHlch(47.36, 93.75, 310.39°)
OKLaboklab(57.31% 0.1086 -0.2039)
OKLCHoklch(57.31% 0.231 298)
XYZxyz(28.2934, 16.2952, 80.2358)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D48EB #A6EB48
analogous
#4854EB #8D48EB #DF48EB
triadic
#8D48EB #EB8D48 #48EB8D
tetradic
#8D48EB #EB4854 #A6EB48 #48EBDF
square
#8D48EB #EB4854 #A6EB48 #48EBDF
split-complementary
#8D48EB #EBDF48 #54EB48
monochromatic
#5112A6 #6C18DE #8D48EB #AF7FF1 #D2B6F7

Accessibility & contrast

On white

4.93
#8D48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8D48EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D48EB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D48EB#FFFFFF#000000##FFFFFF
##8D48EB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#767095
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d48eb;
/* rgb */ color: rgb(141, 72, 235);
/* oklch */ color: oklch(57.3% 0.231 298.0);
Tailwind
colors: {
  custom: {
    50: '#b580f2',
    500: '#8d48eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d48eb;
$custom-light: #b580f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d48eb",
  "rgb": {
    "r": 141,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 265.399,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.23106,
    "h": 298
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#8D48EB
secondary
#CCE7A8
accent
#DD0983
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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