#9048D2#9048D2

#9048D2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.205 H 304.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9048D2
RGBrgb(144, 72, 210)
HSLhsl(271, 61%, 55%)
HSVhsv(271, 66%, 82%)
CMYKcmyk(31.4%, 65.7%, 0%, 17.6%)
CIE-LABlab(45.93, 55.33, -59.49)
CIE-LCHlch(45.93, 81.24, 312.92°)
OKLaboklab(55.81% 0.116 -0.1688)
OKLCHoklch(55.81% 0.205 304.5)
XYZxyz(25.4492, 15.2173, 62.5568)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048D2 #8AD248
analogous
#4B48D2 #9048D2 #D248CF
triadic
#9048D2 #D29048 #48D290
tetradic
#9048D2 #D24B48 #8AD248 #48CFD2
square
#9048D2 #D24B48 #8AD248 #48CFD2
split-complementary
#9048D2 #CFD248 #48D24B
monochromatic
#522080 #712CB1 #9048D2 #AE79DE #CCAAEA

Accessibility & contrast

On white

5.19
#9048D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9048D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048D2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048D2#FFFFFF#000000##FFFFFF
##9048D21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#1C6DCF
Tritanopia (blue-blind)
#846687
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9048d2;
/* rgb */ color: rgb(144, 72, 210);
/* oklch */ color: oklch(55.8% 0.205 304.5);
Tailwind
colors: {
  custom: {
    50: '#b580e1',
    500: '#9048d2',
    950: '#000000',
  },
}
SCSS
$custom: #9048d2;
$custom-light: #b580e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9048d2",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 271.304,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.20483,
    "h": 304.5
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#9048D2
secondary
#BAD89E
accent
#E44490
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048D2

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

Preview Lab → · Contrast checker → · Palette generator →

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