#9048D9#9048D9

#9048D9 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.212 H 302.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9048D9
RGBrgb(144, 72, 217)
HSLhsl(270, 66%, 57%)
HSVhsv(270, 67%, 85%)
CMYKcmyk(33.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.41, 56.98, -62.72)
CIE-LCHlch(46.41, 84.73, 312.25°)
OKLaboklab(56.3% 0.1153 -0.1783)
OKLCHoklch(56.3% 0.212 302.9)
XYZxyz(26.3404, 15.5738, 67.2505)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048D9 #91D948
analogous
#4849D9 #9048D9 #D948D9
triadic
#9048D9 #D99048 #48D990
tetradic
#9048D9 #D94849 #91D948 #48D9D9
square
#9048D9 #D94849 #91D948 #48D9D9
split-complementary
#9048D9 #D9D948 #49D948
monochromatic
#531D8A #7127BD #9048D9 #AF7BE4 #CDADEE

Accessibility & contrast

On white

5.10
#9048D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9048D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048D9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048D9#FFFFFF#000000##FFFFFF
##9048D91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#006ED6
Tritanopia (blue-blind)
#81698B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9048d9;
/* rgb */ color: rgb(144, 72, 217);
/* oklch */ color: oklch(56.3% 0.212 302.9);
Tailwind
colors: {
  custom: {
    50: '#b680e6',
    500: '#9048d9',
    950: '#000000',
  },
}
SCSS
$custom: #9048d9;
$custom-light: #b680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9048d9",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 269.793,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.21232,
    "h": 302.9
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#9048D9
secondary
#BFDCA1
accent
#E93F94
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9048D9

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

Preview Lab → · Contrast checker → · Palette generator →

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