#8048BB#8048BB

#8048BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.176 H 303.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8048BB
RGBrgb(128, 72, 187)
HSLhsl(269, 46%, 51%)
HSVhsv(269, 61%, 73%)
CMYKcmyk(31.6%, 61.5%, 0%, 26.7%)
CIE-LABlab(42.48, 46.26, -51.83)
CIE-LCHlch(42.48, 69.47, 311.75°)
OKLaboklab(52.4% 0.0964 -0.1468)
OKLCHoklch(52.4% 0.176 303.3)
XYZxyz(20.1870, 12.8118, 48.4135)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8048BB #83BB48
analogous
#4849BB #8048BB #B948BB
triadic
#8048BB #BB8048 #48BB80
tetradic
#8048BB #BB4849 #83BB48 #48BBB9
square
#8048BB #BB4849 #83BB48 #48BBB9
split-complementary
#8048BB #BBB948 #49BB48
monochromatic
#432564 #623690 #8048BB #9F75CC #BEA1DC

Accessibility & contrast

On white

5.89
#8048BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8048BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8048BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8048BB#FFFFFF#000000##FFFFFF
##8048BB1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#75607B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8048bb;
/* rgb */ color: rgb(128, 72, 187);
/* oklch */ color: oklch(52.4% 0.176 303.3);
Tailwind
colors: {
  custom: {
    50: '#a97ed0',
    500: '#8048bb',
    950: '#000000',
  },
}
SCSS
$custom: #8048bb;
$custom-light: #a97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8048bb",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 269.217,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.524,
    "c": 0.1756,
    "h": 303.3
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#8048BB
secondary
#B0C996
accent
#D55296
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #8048BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8048BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva