#9048BA#9048BA

#9048BA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.179 H 310.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9048BA
RGBrgb(144, 72, 186)
HSLhsl(278, 45%, 51%)
HSVhsv(278, 61%, 73%)
CMYKcmyk(22.6%, 61.3%, 0%, 27.1%)
CIE-LABlab(44.39, 49.83, -48.07)
CIE-LCHlch(44.39, 69.23, 316.03°)
OKLaboklab(54.2% 0.1174 -0.1353)
OKLCHoklch(54.2% 0.179 310.9)
XYZxyz(22.6802, 14.1097, 47.9735)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048BA #72BA48
analogous
#5748BA #9048BA #BA48AB
triadic
#9048BA #BA9048 #48BA90
tetradic
#9048BA #BA5748 #72BA48 #48ABBA
square
#9048BA #BA5748 #72BA48 #48ABBA
split-complementary
#9048BA #ABBA48 #48BA57
monochromatic
#4C2562 #6E368F #9048BA #AB74CB #C6A1DC

Accessibility & contrast

On white

5.49
#9048BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9048BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048BA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048BA#FFFFFF#000000##FFFFFF
##9048BA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#8B5E7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9048ba;
/* rgb */ color: rgb(144, 72, 186);
/* oklch */ color: oklch(54.2% 0.179 310.9);
Tailwind
colors: {
  custom: {
    50: '#b47fcf',
    500: '#9048ba',
    950: '#000000',
  },
}
SCSS
$custom: #9048ba;
$custom-light: #b47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9048ba",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 277.895,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.17909,
    "h": 310.9
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#9048BA
secondary
#A8C896
accent
#D55383
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9048BA

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

Preview Lab → · Contrast checker → · Palette generator →

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