#8B48DA#8B48DA

#8B48DA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.212 H 300.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B48DA
RGBrgb(139, 72, 218)
HSLhsl(268, 66%, 57%)
HSVhsv(268, 67%, 85%)
CMYKcmyk(36.2%, 67%, 0%, 14.5%)
CIE-LABlab(45.89, 56.22, -64.17)
CIE-LCHlch(45.89, 85.31, 311.22°)
OKLaboklab(55.82% 0.1085 -0.1827)
OKLCHoklch(55.82% 0.212 300.7)
XYZxyz(25.6166, 15.1855, 67.8976)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48DA #97DA48
analogous
#484EDA #8B48DA #D448DA
triadic
#8B48DA #DA8B48 #48DA8B
tetradic
#8B48DA #DA484E #97DA48 #48DAD4
square
#8B48DA #DA484E #97DA48 #48DAD4
split-complementary
#8B48DA #DAD448 #4EDA48
monochromatic
#4F1C8B #6C26BE #8B48DA #AB7BE4 #CCAEEF

Accessibility & contrast

On white

5.20
#8B48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8B48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48DA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48DA#FFFFFF#000000##FFFFFF
##8B48DA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#7A6A8B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b48da;
/* rgb */ color: rgb(139, 72, 218);
/* oklch */ color: oklch(55.8% 0.212 300.7);
Tailwind
colors: {
  custom: {
    50: '#b27fe6',
    500: '#8b48da',
    950: '#000000',
  },
}
SCSS
$custom: #8b48da;
$custom-light: #b27fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48da",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 267.534,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.21248,
    "h": 300.7
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#8B48DA
secondary
#C1DDA1
accent
#E93F9B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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