#9048D4#9048D4

#9048D4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.207 H 304.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9048D4
RGBrgb(144, 72, 212)
HSLhsl(271, 62%, 56%)
HSVhsv(271, 66%, 83%)
CMYKcmyk(32.1%, 66%, 0%, 16.9%)
CIE-LABlab(46.07, 55.79, -60.42)
CIE-LCHlch(46.07, 82.24, 312.72°)
OKLaboklab(55.95% 0.1158 -0.1715)
OKLCHoklch(55.95% 0.207 304)
XYZxyz(25.6999, 15.3176, 63.8772)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048D4 #8CD448
analogous
#4A48D4 #9048D4 #D448D2
triadic
#9048D4 #D49048 #48D490
tetradic
#9048D4 #D44A48 #8CD448 #48D2D4
square
#9048D4 #D44A48 #8CD448 #48D2D4
split-complementary
#9048D4 #D2D448 #48D44A
monochromatic
#521F83 #712AB4 #9048D4 #AE7AE0 #CCABEB

Accessibility & contrast

On white

5.17
#9048D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9048D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048D4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048D4#FFFFFF#000000##FFFFFF
##9048D41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#166DD1
Tritanopia (blue-blind)
#836788
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9048d4;
/* rgb */ color: rgb(144, 72, 212);
/* oklch */ color: oklch(55.9% 0.207 304.0);
Tailwind
colors: {
  custom: {
    50: '#b580e2',
    500: '#9048d4',
    950: '#000000',
  },
}
SCSS
$custom: #9048d4;
$custom-light: #b580e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9048d4",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 270.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.20698,
    "h": 304
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#9048D4
secondary
#BBD99F
accent
#E54392
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048D4

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

Preview Lab → · Contrast checker → · Palette generator →

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