#9B48D7#9B48D7

#9B48D7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.213 H 307.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9B48D7
RGBrgb(155, 72, 215)
HSLhsl(275, 64%, 56%)
HSVhsv(275, 67%, 84%)
CMYKcmyk(27.9%, 66.5%, 0%, 15.7%)
CIE-LABlab(47.64, 58.78, -59.53)
CIE-LCHlch(47.64, 83.66, 314.64°)
OKLaboklab(57.43% 0.13 -0.1686)
OKLCHoklch(57.43% 0.213 307.6)
XYZxyz(28.0981, 16.5100, 65.9833)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D7 #84D748
analogous
#5448D7 #9B48D7 #D748CC
triadic
#9B48D7 #D79B48 #48D79B
tetradic
#9B48D7 #D75448 #84D748 #48CCD7
square
#9B48D7 #D75448 #84D748 #48CCD7
split-complementary
#9B48D7 #CCD748 #48D754
monochromatic
#5B1E87 #7D29B9 #9B48D7 #B67AE2 #D2ACED

Accessibility & contrast

On white

4.88
#9B48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9B48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D7#FFFFFF#000000##FFFFFF
##9B48D71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#91678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b48d7;
/* rgb */ color: rgb(155, 72, 215);
/* oklch */ color: oklch(57.4% 0.213 307.6);
Tailwind
colors: {
  custom: {
    50: '#bd81e4',
    500: '#9b48d7',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d7;
$custom-light: #bd81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d7",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 274.825,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.21284,
    "h": 307.6
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#9B48D7
secondary
#B9DBA0
accent
#E74187
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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