#9048CF#9048CF

#9048CF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.202 H 305.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9048CF
RGBrgb(144, 72, 207)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 65%, 81%)
CMYKcmyk(30.4%, 65.2%, 0%, 18.8%)
CIE-LABlab(45.73, 54.62, -58.09)
CIE-LCHlch(45.73, 79.74, 313.24°)
OKLaboklab(55.6% 0.1163 -0.1647)
OKLCHoklch(55.6% 0.202 305.2)
XYZxyz(25.0790, 15.0692, 60.6068)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048CF #87CF48
analogous
#4C48CF #9048CF #CF48CB
triadic
#9048CF #CF9048 #48CF90
tetradic
#9048CF #CF4C48 #87CF48 #48CBCF
square
#9048CF #CF4C48 #87CF48 #48CBCF
split-complementary
#9048CF #CBCF48 #48CF4C
monochromatic
#51217C #712DAD #9048CF #AD78DC #CBA9E8

Accessibility & contrast

On white

5.23
#9048CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9048CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048CF#FFFFFF#000000##FFFFFF
##9048CF1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#226CCC
Tritanopia (blue-blind)
#856585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9048cf;
/* rgb */ color: rgb(144, 72, 207);
/* oklch */ color: oklch(55.6% 0.202 305.2);
Tailwind
colors: {
  custom: {
    50: '#b57fde',
    500: '#9048cf',
    950: '#000000',
  },
}
SCSS
$custom: #9048cf;
$custom-light: #b57fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9048cf",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 272,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.20161,
    "h": 305.2
  },
  "luminance": 0.15069
}

Semantic roles & 50–950 ramp

primary
#9048CF
secondary
#B8D69D
accent
#E2468F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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