#8B48D4#8B48D4

#8B48D4 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.206 H 302.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8B48D4
RGBrgb(139, 72, 212)
HSLhsl(269, 62%, 56%)
HSVhsv(269, 66%, 83%)
CMYKcmyk(34.4%, 66%, 0%, 16.9%)
CIE-LABlab(45.47, 54.76, -61.42)
CIE-LCHlch(45.47, 82.29, 311.72°)
OKLaboklab(55.38% 0.1092 -0.1746)
OKLCHoklch(55.38% 0.206 302)
XYZxyz(24.8457, 14.8771, 63.8372)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48D4 #91D448
analogous
#484BD4 #8B48D4 #D148D4
triadic
#8B48D4 #D48B48 #48D48B
tetradic
#8B48D4 #D4484B #91D448 #48D4D1
square
#8B48D4 #D4484B #91D448 #48D4D1
split-complementary
#8B48D4 #D4D148 #4BD448
monochromatic
#4F1F83 #6C2AB4 #8B48D4 #AA7AE0 #CAABEB

Accessibility & contrast

On white

5.28
#8B48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8B48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48D4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48D4#FFFFFF#000000##FFFFFF
##8B48D41.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#026BD1
Tritanopia (blue-blind)
#7C6888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b48d4;
/* rgb */ color: rgb(139, 72, 212);
/* oklch */ color: oklch(55.4% 0.206 302.0);
Tailwind
colors: {
  custom: {
    50: '#b27fe2',
    500: '#8b48d4',
    950: '#000000',
  },
}
SCSS
$custom: #8b48d4;
$custom-light: #b27fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48d4",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 268.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55383,
    "c": 0.20595,
    "h": 302
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#8B48D4
secondary
#BDD99F
accent
#E54397
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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