#9048DB#9048DB

#9048DB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.214 H 302.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9048DB
RGBrgb(144, 72, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 67%, 86%)
CMYKcmyk(34.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.55, 57.45, -63.64)
CIE-LCHlch(46.55, 85.73, 312.08°)
OKLaboklab(56.45% 0.115 -0.181)
OKLCHoklch(56.45% 0.214 302.4)
XYZxyz(26.6021, 15.6784, 68.6289)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048DB #93DB48
analogous
#484ADB #9048DB #DA48DB
triadic
#9048DB #DB9048 #48DB90
tetradic
#9048DB #DB484A #93DB48 #48DBDA
square
#9048DB #DB484A #93DB48 #48DBDA
split-complementary
#9048DB #DBDA48 #4ADB48
monochromatic
#531C8D #7126C0 #9048DB #AF7BE5 #CEAEEF

Accessibility & contrast

On white

5.08
#9048DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9048DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048DB#FFFFFF#000000##FFFFFF
##9048DB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#816A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9048db;
/* rgb */ color: rgb(144, 72, 219);
/* oklch */ color: oklch(56.4% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#b680e7',
    500: '#9048db',
    950: '#000000',
  },
}
SCSS
$custom: #9048db;
$custom-light: #b680e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9048db",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 269.388,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.21445,
    "h": 302.4
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#9048DB
secondary
#C0DDA2
accent
#EA3E96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9048DB

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

Preview Lab → · Contrast checker → · Palette generator →

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