#9B48D5#9B48D5

#9B48D5 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.211 H 308.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9B48D5
RGBrgb(155, 72, 213)
HSLhsl(275, 63%, 56%)
HSVhsv(275, 66%, 84%)
CMYKcmyk(27.2%, 66.2%, 0%, 16.5%)
CIE-LABlab(47.51, 58.34, -58.60)
CIE-LCHlch(47.51, 82.69, 314.87°)
OKLaboklab(57.3% 0.1301 -0.1658)
OKLCHoklch(57.3% 0.211 308.1)
XYZxyz(27.8427, 16.4078, 64.6382)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D5 #82D548
analogous
#5448D5 #9B48D5 #D548C9
triadic
#9B48D5 #D59B48 #48D59B
tetradic
#9B48D5 #D55448 #82D548 #48C9D5
square
#9B48D5 #D55448 #82D548 #48C9D5
split-complementary
#9B48D5 #C9D548 #48D554
monochromatic
#5A1E84 #7C2AB6 #9B48D5 #B67AE0 #D1ACEC

Accessibility & contrast

On white

4.90
#9B48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9B48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D5#FFFFFF#000000##FFFFFF
##9B48D51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#926689
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b48d5;
/* rgb */ color: rgb(155, 72, 213);
/* oklch */ color: oklch(57.3% 0.211 308.1);
Tailwind
colors: {
  custom: {
    50: '#bd81e3',
    500: '#9b48d5',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d5;
$custom-light: #bd81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d5",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 275.319,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57298,
    "c": 0.2108,
    "h": 308.1
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#9B48D5
secondary
#B7DA9F
accent
#E64285
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9B48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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