#9048CC#9048CC

#9048CC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.4% C 0.198 H 306.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9048CC
RGBrgb(144, 72, 204)
HSLhsl(273, 56%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(29.4%, 64.7%, 0%, 20%)
CIE-LABlab(45.53, 53.93, -56.68)
CIE-LCHlch(45.53, 78.24, 313.57°)
OKLaboklab(55.39% 0.1166 -0.1606)
OKLCHoklch(55.39% 0.198 306)
XYZxyz(24.7157, 14.9239, 58.6936)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048CC #84CC48
analogous
#4E48CC #9048CC #CC48C6
triadic
#9048CC #CC9048 #48CC90
tetradic
#9048CC #CC4E48 #84CC48 #48C6CC
square
#9048CC #CC4E48 #84CC48 #48C6CC
split-complementary
#9048CC #C6CC48 #48CC4E
monochromatic
#512178 #712FA8 #9048CC #AD78D9 #CAA8E7

Accessibility & contrast

On white

5.27
#9048CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9048CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048CC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048CC#FFFFFF#000000##FFFFFF
##9048CC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#276CC9
Tritanopia (blue-blind)
#866484
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9048cc;
/* rgb */ color: rgb(144, 72, 204);
/* oklch */ color: oklch(55.4% 0.198 306.0);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9048cc',
    950: '#000000',
  },
}
SCSS
$custom: #9048cc;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9048cc",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 272.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5539,
    "c": 0.1984,
    "h": 306
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#9048CC
secondary
#B5D49C
accent
#E0488D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048CC

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

Preview Lab → · Contrast checker → · Palette generator →

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