#9048CA#9048CA

#9048CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.3% C 0.196 H 306.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9048CA
RGBrgb(144, 72, 202)
HSLhsl(273, 55%, 54%)
HSVhsv(273, 64%, 79%)
CMYKcmyk(28.7%, 64.4%, 0%, 20.8%)
CIE-LABlab(45.40, 53.46, -55.74)
CIE-LCHlch(45.40, 77.24, 313.80°)
OKLaboklab(55.25% 0.1167 -0.1578)
OKLCHoklch(55.25% 0.196 306.5)
XYZxyz(24.4774, 14.8285, 57.4384)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048CA #82CA48
analogous
#4F48CA #9048CA #CA48C3
triadic
#9048CA #CA9048 #48CA90
tetradic
#9048CA #CA4F48 #82CA48 #48C3CA
square
#9048CA #CA4F48 #82CA48 #48C3CA
split-complementary
#9048CA #C3CA48 #48CA4F
monochromatic
#502276 #7130A5 #9048CA #AD77D8 #CAA7E5

Accessibility & contrast

On white

5.30
#9048CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9048CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048CA#FFFFFF#000000##FFFFFF
##9048CA1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#2A6CC7
Tritanopia (blue-blind)
#866383
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9048ca;
/* rgb */ color: rgb(144, 72, 202);
/* oklch */ color: oklch(55.3% 0.196 306.5);
Tailwind
colors: {
  custom: {
    50: '#b57fdb',
    500: '#9048ca',
    950: '#000000',
  },
}
SCSS
$custom: #9048ca;
$custom-light: #b57fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9048ca",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 273.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.19625,
    "h": 306.5
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#9048CA
secondary
#B4D39B
accent
#DE498C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048CA

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

Preview Lab → · Contrast checker → · Palette generator →

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