#9B48DC#9B48DC

#9B48DC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.218 H 306.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9B48DC
RGBrgb(155, 72, 220)
HSLhsl(274, 68%, 57%)
HSVhsv(274, 67%, 86%)
CMYKcmyk(29.5%, 67.3%, 0%, 13.7%)
CIE-LABlab(47.97, 59.91, -61.84)
CIE-LCHlch(47.97, 86.10, 314.09°)
OKLaboklab(57.78% 0.1295 -0.1754)
OKLCHoklch(57.78% 0.218 306.4)
XYZxyz(28.7504, 16.7709, 69.4188)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48DC #89DC48
analogous
#5148DC #9B48DC #DC48D3
triadic
#9B48DC #DC9B48 #48DC9B
tetradic
#9B48DC #DC5148 #89DC48 #48D3DC
square
#9B48DC #DC5148 #89DC48 #48D3DC
split-complementary
#9B48DC #D3DC48 #48DC51
monochromatic
#5C1B8E #7D25C2 #9B48DC #B77BE6 #D3AFF0

Accessibility & contrast

On white

4.82
#9B48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9B48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48DC#FFFFFF#000000##FFFFFF
##9B48DC1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#1E72D9
Tritanopia (blue-blind)
#90698C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b48dc;
/* rgb */ color: rgb(155, 72, 220);
/* oklch */ color: oklch(57.8% 0.218 306.4);
Tailwind
colors: {
  custom: {
    50: '#bd81e8',
    500: '#9b48dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b48dc;
$custom-light: #bd81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48dc",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 273.649,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.21796,
    "h": 306.4
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#9B48DC
secondary
#BCDEA2
accent
#EB3D89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B48DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9B48DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva