#9048CB#9048CB

#9048CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.197 H 306.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9048CB
RGBrgb(144, 72, 203)
HSLhsl(273, 56%, 54%)
HSVhsv(273, 65%, 80%)
CMYKcmyk(29.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(45.46, 53.69, -56.21)
CIE-LCHlch(45.46, 77.74, 313.69°)
OKLaboklab(55.32% 0.1166 -0.1592)
OKLCHoklch(55.32% 0.197 306.2)
XYZxyz(24.5961, 14.8760, 58.0639)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048CB #83CB48
analogous
#4F48CB #9048CB #CB48C5
triadic
#9048CB #CB9048 #48CB90
tetradic
#9048CB #CB4F48 #83CB48 #48C5CB
square
#9048CB #CB4F48 #83CB48 #48C5CB
split-complementary
#9048CB #C5CB48 #48CB4F
monochromatic
#512277 #712FA6 #9048CB #AD78D9 #CAA7E6

Accessibility & contrast

On white

5.28
#9048CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9048CB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048CB#FFFFFF#000000##FFFFFF
##9048CB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#296CC8
Tritanopia (blue-blind)
#866483
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9048cb;
/* rgb */ color: rgb(144, 72, 203);
/* oklch */ color: oklch(55.3% 0.197 306.2);
Tailwind
colors: {
  custom: {
    50: '#b57fdc',
    500: '#9048cb',
    950: '#000000',
  },
}
SCSS
$custom: #9048cb;
$custom-light: #b57fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9048cb",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 272.977,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.19733,
    "h": 306.2
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#9048CB
secondary
#B5D39B
accent
#DF498C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9048CB

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

Preview Lab → · Contrast checker → · Palette generator →

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