#8B48DB#8B48DB

#8B48DB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.214 H 300.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8B48DB
RGBrgb(139, 72, 219)
HSLhsl(267, 67%, 57%)
HSVhsv(267, 67%, 86%)
CMYKcmyk(36.5%, 67.1%, 0%, 14.1%)
CIE-LABlab(45.96, 56.46, -64.62)
CIE-LCHlch(45.96, 85.81, 311.14°)
OKLaboklab(55.89% 0.1083 -0.1841)
OKLCHoklch(55.89% 0.214 300.5)
XYZxyz(25.7479, 15.2380, 68.5888)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48DB #98DB48
analogous
#484FDB #8B48DB #D548DB
triadic
#8B48DB #DB8B48 #48DB8B
tetradic
#8B48DB #DB484F #98DB48 #48DBD5
square
#8B48DB #DB484F #98DB48 #48DBD5
split-complementary
#8B48DB #DBD548 #4FDB48
monochromatic
#4F1C8D #6C26C0 #8B48DB #AB7BE5 #CCAEEF

Accessibility & contrast

On white

5.19
#8B48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8B48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48DB#FFFFFF#000000##FFFFFF
##8B48DB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#796A8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b48db;
/* rgb */ color: rgb(139, 72, 219);
/* oklch */ color: oklch(55.9% 0.214 300.5);
Tailwind
colors: {
  custom: {
    50: '#b37fe7',
    500: '#8b48db',
    950: '#000000',
  },
}
SCSS
$custom: #8b48db;
$custom-light: #b37fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48db",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 267.347,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55892,
    "c": 0.21357,
    "h": 300.5
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#8B48DB
secondary
#C2DDA2
accent
#EA3E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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