#9048D8#9048D8

#9048D8 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.211 H 303.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9048D8
RGBrgb(144, 72, 216)
HSLhsl(270, 65%, 56%)
HSVhsv(270, 67%, 85%)
CMYKcmyk(33.3%, 66.7%, 0%, 15.3%)
CIE-LABlab(46.34, 56.74, -62.26)
CIE-LCHlch(46.34, 84.24, 312.34°)
OKLaboklab(56.23% 0.1154 -0.1769)
OKLCHoklch(56.23% 0.211 303.1)
XYZxyz(26.2108, 15.5219, 66.5676)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048D8 #90D848
analogous
#4848D8 #9048D8 #D848D8
triadic
#9048D8 #D89048 #48D890
tetradic
#9048D8 #D84848 #90D848 #48D8D8
square
#9048D8 #D84848 #90D848 #48D8D8
split-complementary
#9048D8 #D8D848 #48D848
monochromatic
#531D89 #7128BB #9048D8 #AF7AE3 #CDADEE

Accessibility & contrast

On white

5.12
#9048D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9048D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048D8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048D8#FFFFFF#000000##FFFFFF
##9048D81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#066DD5
Tritanopia (blue-blind)
#82688A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9048d8;
/* rgb */ color: rgb(144, 72, 216);
/* oklch */ color: oklch(56.2% 0.211 303.1);
Tailwind
colors: {
  custom: {
    50: '#b680e5',
    500: '#9048d8',
    950: '#000000',
  },
}
SCSS
$custom: #9048d8;
$custom-light: #b680e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9048d8",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 270,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.21125,
    "h": 303.1
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#9048D8
secondary
#BEDBA0
accent
#E84094
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9048D8

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

Preview Lab → · Contrast checker → · Palette generator →

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