#9048EB#9048EB

#9048EB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.231 H 299.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9048EB
RGBrgb(144, 72, 235)
HSLhsl(267, 80%, 60%)
HSVhsv(267, 69%, 92%)
CMYKcmyk(38.7%, 69.4%, 0%, 7.8%)
CIE-LABlab(47.70, 61.29, -70.83)
CIE-LCHlch(47.70, 93.67, 310.87°)
OKLaboklab(57.63% 0.1127 -0.2021)
OKLCHoklch(57.63% 0.231 299.1)
XYZxyz(28.8106, 16.5618, 80.2600)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048EB #A3EB48
analogous
#4851EB #9048EB #E248EB
triadic
#9048EB #EB9048 #48EB90
tetradic
#9048EB #EB4851 #A3EB48 #48EBE2
square
#9048EB #EB4851 #A3EB48 #48EBE2
split-complementary
#9048EB #EBE248 #51EB48
monochromatic
#5412A6 #6F18DE #9048EB #B17FF1 #D3B6F7

Accessibility & contrast

On white

4.87
#9048EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9048EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048EB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048EB#FFFFFF#000000##FFFFFF
##9048EB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#7B7095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9048eb;
/* rgb */ color: rgb(144, 72, 235);
/* oklch */ color: oklch(57.6% 0.231 299.1);
Tailwind
colors: {
  custom: {
    50: '#b780f2',
    500: '#9048eb',
    950: '#000000',
  },
}
SCSS
$custom: #9048eb;
$custom-light: #b780f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9048eb",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 266.503,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57632,
    "c": 0.23144,
    "h": 299.1
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#9048EB
secondary
#CBE7A8
accent
#DD097F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9048EB

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

Preview Lab → · Contrast checker → · Palette generator →

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