#9048C2#9048C2

#9048C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.188 H 308.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9048C2
RGBrgb(144, 72, 194)
HSLhsl(275, 50%, 52%)
HSVhsv(275, 63%, 76%)
CMYKcmyk(25.8%, 62.9%, 0%, 23.9%)
CIE-LABlab(44.88, 51.63, -51.93)
CIE-LCHlch(44.88, 73.23, 314.83°)
OKLaboklab(54.72% 0.1171 -0.1466)
OKLCHoklch(54.72% 0.188 308.6)
XYZxyz(23.5546, 14.4594, 52.5786)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048C2 #7AC248
analogous
#5348C2 #9048C2 #C248B7
triadic
#9048C2 #C29048 #48C290
tetradic
#9048C2 #C25348 #7AC248 #48B7C2
square
#9048C2 #C25348 #7AC248 #48B7C2
split-complementary
#9048C2 #B7C248 #48C253
monochromatic
#4E246C #70339A #9048C2 #AC76D1 #C8A4E1

Accessibility & contrast

On white

5.40
#9048C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9048C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048C2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048C2#FFFFFF#000000##FFFFFF
##9048C21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0167C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#89607E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9048c2;
/* rgb */ color: rgb(144, 72, 194);
/* oklch */ color: oklch(54.7% 0.188 308.6);
Tailwind
colors: {
  custom: {
    50: '#b47fd5',
    500: '#9048c2',
    950: '#000000',
  },
}
SCSS
$custom: #9048c2;
$custom-light: #b47fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9048c2",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 275.41,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.18767,
    "h": 308.6
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#9048C2
secondary
#AECE98
accent
#DA4E87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9048C2

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

Preview Lab → · Contrast checker → · Palette generator →

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