#9048E2#9048E2

#9048E2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.222 H 300.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9048E2
RGBrgb(144, 72, 226)
HSLhsl(268, 73%, 58%)
HSVhsv(268, 68%, 89%)
CMYKcmyk(36.3%, 68.1%, 0%, 11.4%)
CIE-LABlab(47.05, 59.12, -66.81)
CIE-LCHlch(47.05, 89.21, 311.51°)
OKLaboklab(56.96% 0.1141 -0.1903)
OKLCHoklch(56.96% 0.222 300.9)
XYZxyz(27.5431, 16.0548, 73.5846)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9048E2 #9AE248
analogous
#484DE2 #9048E2 #DD48E2
triadic
#9048E2 #E29048 #48E290
tetradic
#9048E2 #E2484D #9AE248 #48E2DD
square
#9048E2 #E2484D #9AE248 #48E2DD
split-complementary
#9048E2 #E2DD48 #4DE248
monochromatic
#541898 #7120CC #9048E2 #B07DEA #D0B2F3

Accessibility & contrast

On white

4.99
#9048E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9048E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9048E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9048E2#FFFFFF#000000##FFFFFF
##9048E21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#7E6C90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9048e2;
/* rgb */ color: rgb(144, 72, 226);
/* oklch */ color: oklch(57.0% 0.222 300.9);
Tailwind
colors: {
  custom: {
    50: '#b680ec',
    500: '#9048e2',
    950: '#000000',
  },
}
SCSS
$custom: #9048e2;
$custom-light: #b680ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9048e2",
  "rgb": {
    "r": 144,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 268.052,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.22191,
    "h": 300.9
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#9048E2
secondary
#C5E1A4
accent
#EF389A
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9048E2

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

Preview Lab → · Contrast checker → · Palette generator →

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