#9048BC#9048BC

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

Color values

HEX#9048BC
RGBrgb(144, 72, 188)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 62%, 74%)
CMYKcmyk(23.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(44.51, 50.27, -49.04)
CIE-LCHlch(44.51, 70.23, 315.71°)
OKLaboklab(54.33% 0.1173 -0.1381)
OKLCHoklch(54.33% 0.181 310.3)
XYZxyz(22.8943, 14.1953, 49.1011)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048BC #74BC48
analogous
#5648BC #9048BC #BC48AE
triadic
#9048BC #BC9048 #48BC90
tetradic
#9048BC #BC5648 #74BC48 #48AEBC
square
#9048BC #BC5648 #74BC48 #48AEBC
split-complementary
#9048BC #AEBC48 #48BC56
monochromatic
#4D2565 #6F3592 #9048BC #AB75CC #C6A2DD

Accessibility & contrast

On white

5.47
#9048BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9048BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048BC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048BC#FFFFFF#000000##FFFFFF
##9048BC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#8A5E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9048bc;
/* rgb */ color: rgb(144, 72, 188);
/* oklch */ color: oklch(54.3% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#b47fd1',
    500: '#9048bc',
    950: '#000000',
  },
}
SCSS
$custom: #9048bc;
$custom-light: #b47fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9048bc",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 277.241,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54328,
    "c": 0.18124,
    "h": 310.3
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#9048BC
secondary
#AACA96
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #9048BC

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

Preview Lab → · Contrast checker → · Palette generator →

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