#9B48DB#9B48DB

#9B48DB is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.217 H 306.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9B48DB
RGBrgb(155, 72, 219)
HSLhsl(274, 67%, 57%)
HSVhsv(274, 67%, 86%)
CMYKcmyk(29.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.90, 59.68, -61.38)
CIE-LCHlch(47.90, 85.61, 314.20°)
OKLaboklab(57.71% 0.1296 -0.174)
OKLCHoklch(57.71% 0.217 306.7)
XYZxyz(28.6184, 16.7181, 68.7234)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48DB #88DB48
analogous
#5248DB #9B48DB #DB48D1
triadic
#9B48DB #DB9B48 #48DB9B
tetradic
#9B48DB #DB5248 #88DB48 #48D1DB
square
#9B48DB #DB5248 #88DB48 #48D1DB
split-complementary
#9B48DB #D1DB48 #48DB52
monochromatic
#5C1C8D #7D26C0 #9B48DB #B77BE5 #D3AEEF

Accessibility & contrast

On white

4.83
#9B48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48DB#FFFFFF#000000##FFFFFF
##9B48DB1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#90688C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b48db;
/* rgb */ color: rgb(155, 72, 219);
/* oklch */ color: oklch(57.7% 0.217 306.7);
Tailwind
colors: {
  custom: {
    50: '#bd81e7',
    500: '#9b48db',
    950: '#000000',
  },
}
SCSS
$custom: #9b48db;
$custom-light: #bd81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48db",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 273.878,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.21694,
    "h": 306.7
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#9B48DB
secondary
#BCDDA2
accent
#EA3E89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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