#9B48D4#9B48D4

#9B48D4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.210 H 308.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9B48D4
RGBrgb(155, 72, 212)
HSLhsl(276, 62%, 56%)
HSVhsv(276, 66%, 83%)
CMYKcmyk(26.9%, 66%, 0%, 16.9%)
CIE-LABlab(47.44, 58.12, -58.13)
CIE-LCHlch(47.44, 82.20, 314.99°)
OKLaboklab(57.23% 0.1302 -0.1645)
OKLCHoklch(57.23% 0.21 308.4)
XYZxyz(27.7162, 16.3572, 63.9718)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D4 #81D448
analogous
#5548D4 #9B48D4 #D448C7
triadic
#9B48D4 #D49B48 #48D49B
tetradic
#9B48D4 #D45548 #81D448 #48C7D4
square
#9B48D4 #D45548 #81D448 #48C7D4
split-complementary
#9B48D4 #C7D448 #48D455
monochromatic
#5A1F83 #7C2AB4 #9B48D4 #B67AE0 #D1ABEB

Accessibility & contrast

On white

4.92
#9B48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9B48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D4#FFFFFF#000000##FFFFFF
##9B48D41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2D71D1
Tritanopia (blue-blind)
#926688
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b48d4;
/* rgb */ color: rgb(155, 72, 212);
/* oklch */ color: oklch(57.2% 0.210 308.4);
Tailwind
colors: {
  custom: {
    50: '#bd80e2',
    500: '#9b48d4',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d4;
$custom-light: #bd80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d4",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 275.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.20977,
    "h": 308.4
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#9B48D4
secondary
#B6D99F
accent
#E54385
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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