#8B48D5#8B48D5

#8B48D5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.5% C 0.207 H 301.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8B48D5
RGBrgb(139, 72, 213)
HSLhsl(269, 63%, 56%)
HSVhsv(269, 66%, 84%)
CMYKcmyk(34.7%, 66.2%, 0%, 16.5%)
CIE-LABlab(45.53, 55.00, -61.88)
CIE-LCHlch(45.53, 82.79, 311.63°)
OKLaboklab(55.46% 0.1091 -0.176)
OKLCHoklch(55.46% 0.207 301.8)
XYZxyz(24.9722, 14.9277, 64.5036)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48D5 #92D548
analogous
#484BD5 #8B48D5 #D248D5
triadic
#8B48D5 #D58B48 #48D58B
tetradic
#8B48D5 #D5484B #92D548 #48D5D2
square
#8B48D5 #D5484B #92D548 #48D5D2
split-complementary
#8B48D5 #D5D248 #4BD548
monochromatic
#4F1E84 #6C2AB6 #8B48D5 #AB7AE0 #CAACEC

Accessibility & contrast

On white

5.27
#8B48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8B48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48D5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48D5#FFFFFF#000000##FFFFFF
##8B48D51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#7C6889
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b48d5;
/* rgb */ color: rgb(139, 72, 213);
/* oklch */ color: oklch(55.5% 0.207 301.8);
Tailwind
colors: {
  custom: {
    50: '#b27fe3',
    500: '#8b48d5',
    950: '#000000',
  },
}
SCSS
$custom: #8b48d5;
$custom-light: #b27fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48d5",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 268.511,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.20704,
    "h": 301.8
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#8B48D5
secondary
#BEDA9F
accent
#E64298
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8B48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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