#9048C8#9048C8

#9048C8 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.194 H 307.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9048C8
RGBrgb(144, 72, 200)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 64%, 78%)
CMYKcmyk(28%, 64%, 0%, 21.6%)
CIE-LABlab(45.27, 53.00, -54.80)
CIE-LCHlch(45.27, 76.23, 314.05°)
OKLaboklab(55.12% 0.1168 -0.155)
OKLCHoklch(55.12% 0.194 307)
XYZxyz(24.2421, 14.7344, 56.1993)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048C8 #80C848
analogous
#5048C8 #9048C8 #C848C0
triadic
#9048C8 #C89048 #48C890
tetradic
#9048C8 #C85048 #80C848 #48C0C8
square
#9048C8 #C85048 #80C848 #48C0C8
split-complementary
#9048C8 #C0C848 #48C850
monochromatic
#502373 #7031A2 #9048C8 #AD77D6 #C9A6E4

Accessibility & contrast

On white

5.32
#9048C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9048C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048C8#FFFFFF#000000##FFFFFF
##9048C81.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#2D6CC5
Tritanopia (blue-blind)
#876382
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9048c8;
/* rgb */ color: rgb(144, 72, 200);
/* oklch */ color: oklch(55.1% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#b47fd9',
    500: '#9048c8',
    950: '#000000',
  },
}
SCSS
$custom: #9048c8;
$custom-light: #b47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9048c8",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 273.75,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.19411,
    "h": 307
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#9048C8
secondary
#B2D19A
accent
#DD4B8B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048C8

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

Preview Lab → · Contrast checker → · Palette generator →

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