#9048BB#9048BB

#9048BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.180 H 310.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9048BB
RGBrgb(144, 72, 187)
HSLhsl(278, 46%, 51%)
HSVhsv(278, 61%, 73%)
CMYKcmyk(23%, 61.5%, 0%, 26.7%)
CIE-LABlab(44.45, 50.05, -48.55)
CIE-LCHlch(44.45, 69.73, 315.87°)
OKLaboklab(54.26% 0.1173 -0.1367)
OKLCHoklch(54.26% 0.18 310.6)
XYZxyz(22.7869, 14.1524, 48.5354)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048BB #73BB48
analogous
#5648BB #9048BB #BB48AD
triadic
#9048BB #BB9048 #48BB90
tetradic
#9048BB #BB5648 #73BB48 #48ADBB
square
#9048BB #BB5648 #73BB48 #48ADBB
split-complementary
#9048BB #ADBB48 #48BB56
monochromatic
#4C2564 #6E3690 #9048BB #AB75CC #C6A1DC

Accessibility & contrast

On white

5.48
#9048BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9048BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048BB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048BB#FFFFFF#000000##FFFFFF
##9048BB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#8B5E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9048bb;
/* rgb */ color: rgb(144, 72, 187);
/* oklch */ color: oklch(54.3% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#b47fd0',
    500: '#9048bb',
    950: '#000000',
  },
}
SCSS
$custom: #9048bb;
$custom-light: #b47fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9048bb",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 277.565,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.18015,
    "h": 310.6
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#9048BB
secondary
#A9C996
accent
#D55283
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9048BB

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

Preview Lab → · Contrast checker → · Palette generator →

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