#8B48CF#8B48CF

#8B48CF is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.200 H 303.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8B48CF
RGBrgb(139, 72, 207)
HSLhsl(270, 58%, 55%)
HSVhsv(270, 65%, 81%)
CMYKcmyk(32.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.12, 53.56, -59.10)
CIE-LCHlch(45.12, 79.76, 312.18°)
OKLaboklab(55.03% 0.1097 -0.1678)
OKLCHoklch(55.03% 0.2 303.2)
XYZxyz(24.2247, 14.6287, 60.5668)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B48CF #8CCF48
analogous
#4848CF #8B48CF #CF48CF
triadic
#8B48CF #CF8B48 #48CF8B
tetradic
#8B48CF #CF4848 #8CCF48 #48CFCF
square
#8B48CF #CF4848 #8CCF48 #48CFCF
split-complementary
#8B48CF #CFCF48 #48CF48
monochromatic
#4E217C #6C2DAD #8B48CF #AA78DC #C8A9E8

Accessibility & contrast

On white

5.35
#8B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8B48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B48CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B48CF#FFFFFF#000000##FFFFFF
##8B48CF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#7E6685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b48cf;
/* rgb */ color: rgb(139, 72, 207);
/* oklch */ color: oklch(55.0% 0.200 303.2);
Tailwind
colors: {
  custom: {
    50: '#b27fde',
    500: '#8b48cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b48cf;
$custom-light: #b27fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b48cf",
  "rgb": {
    "r": 139,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 269.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.20049,
    "h": 303.2
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#8B48CF
secondary
#BAD69D
accent
#E24694
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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