#9B48D8#9B48D8

#9B48D8 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.214 H 307.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9B48D8
RGBrgb(155, 72, 216)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 67%, 85%)
CMYKcmyk(28.2%, 66.7%, 0%, 15.3%)
CIE-LABlab(47.70, 59.01, -59.99)
CIE-LCHlch(47.70, 84.15, 314.53°)
OKLaboklab(57.5% 0.1299 -0.1699)
OKLCHoklch(57.5% 0.214 307.4)
XYZxyz(28.2270, 16.5615, 66.6621)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D8 #85D848
analogous
#5348D8 #9B48D8 #D848CD
triadic
#9B48D8 #D89B48 #48D89B
tetradic
#9B48D8 #D85348 #85D848 #48CDD8
square
#9B48D8 #D85348 #85D848 #48CDD8
split-complementary
#9B48D8 #CDD848 #48D853
monochromatic
#5B1D89 #7D28BB #9B48D8 #B77AE3 #D2ADEE

Accessibility & contrast

On white

4.87
#9B48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9B48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D8#FFFFFF#000000##FFFFFF
##9B48D81.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)
#006EDC
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#91678A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b48d8;
/* rgb */ color: rgb(155, 72, 216);
/* oklch */ color: oklch(57.5% 0.214 307.4);
Tailwind
colors: {
  custom: {
    50: '#bd81e5',
    500: '#9b48d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d8;
$custom-light: #bd81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d8",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 274.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.21386,
    "h": 307.4
  },
  "luminance": 0.16561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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