#8B48D2#8B48D2

#8B48D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.204 H 302.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B48D2
RGBrgb(139, 72, 210)
HSLhsl(269, 61%, 55%)
HSVhsv(269, 66%, 82%)
CMYKcmyk(33.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(45.33, 54.28, -60.49)
CIE-LCHlch(45.33, 81.28, 311.90°)
OKLaboklab(55.24% 0.1094 -0.1719)
OKLCHoklch(55.24% 0.204 302.5)
XYZxyz(24.5950, 14.7768, 62.5167)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48D2 #8FD248
analogous
#484AD2 #8B48D2 #D048D2
triadic
#8B48D2 #D28B48 #48D28B
tetradic
#8B48D2 #D2484A #8FD248 #48D2D0
square
#8B48D2 #D2484A #8FD248 #48D2D0
split-complementary
#8B48D2 #D2D048 #4AD248
monochromatic
#4E2080 #6C2CB1 #8B48D2 #AA79DE #C9AAEA

Accessibility & contrast

On white

5.31
#8B48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8B48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48D2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48D2#FFFFFF#000000##FFFFFF
##8B48D21.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0C6BCF
Tritanopia (blue-blind)
#7D6787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b48d2;
/* rgb */ color: rgb(139, 72, 210);
/* oklch */ color: oklch(55.2% 0.204 302.5);
Tailwind
colors: {
  custom: {
    50: '#b27fe1',
    500: '#8b48d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b48d2;
$custom-light: #b27fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48d2",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 269.13,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.20376,
    "h": 302.5
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#8B48D2
secondary
#BCD89E
accent
#E44496
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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