#8B48DE#8B48DE

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

Color values

HEX#8B48DE
RGBrgb(139, 72, 222)
HSLhsl(267, 69%, 58%)
HSVhsv(267, 68%, 87%)
CMYKcmyk(37.4%, 67.6%, 0%, 12.9%)
CIE-LABlab(46.17, 57.19, -65.98)
CIE-LCHlch(46.17, 87.32, 310.92°)
OKLaboklab(56.11% 0.1079 -0.188)
OKLCHoklch(56.11% 0.217 299.9)
XYZxyz(26.1464, 15.3974, 70.6876)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48DE #9BDE48
analogous
#4850DE #8B48DE #D648DE
triadic
#8B48DE #DE8B48 #48DE8B
tetradic
#8B48DE #DE4850 #9BDE48 #48DED6
square
#8B48DE #DE4850 #9BDE48 #48DED6
split-complementary
#8B48DE #DED648 #50DE48
monochromatic
#4F1A91 #6C24C5 #8B48DE #AC7CE7 #CDB0F1

Accessibility & contrast

On white

5.15
#8B48DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B48DE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48DE#FFFFFF#000000##FFFFFF
##8B48DE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#786B8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b48de;
/* rgb */ color: rgb(139, 72, 222);
/* oklch */ color: oklch(56.1% 0.217 299.9);
Tailwind
colors: {
  custom: {
    50: '#b380e9',
    500: '#8b48de',
    950: '#000000',
  },
}
SCSS
$custom: #8b48de;
$custom-light: #b380e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48de",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 266.8,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.21682,
    "h": 299.9
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#8B48DE
secondary
#C4DFA3
accent
#EC3C9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B48DE

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

Preview Lab → · Contrast checker → · Palette generator →

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