#9B48D2#9B48D2

#9B48D2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.208 H 308.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B48D2
RGBrgb(155, 72, 210)
HSLhsl(276, 61%, 55%)
HSVhsv(276, 66%, 82%)
CMYKcmyk(26.2%, 65.7%, 0%, 17.6%)
CIE-LABlab(47.31, 57.68, -57.19)
CIE-LCHlch(47.31, 81.23, 315.24°)
OKLaboklab(57.1% 0.1304 -0.1617)
OKLCHoklch(57.1% 0.208 308.9)
XYZxyz(27.4655, 16.2569, 62.6513)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D2 #7FD248
analogous
#5648D2 #9B48D2 #D248C4
triadic
#9B48D2 #D29B48 #48D29B
tetradic
#9B48D2 #D25648 #7FD248 #48C4D2
square
#9B48D2 #D25648 #7FD248 #48C4D2
split-complementary
#9B48D2 #C4D248 #48D256
monochromatic
#5A2080 #7C2CB1 #9B48D2 #B679DE #D1AAEA

Accessibility & contrast

On white

4.94
#9B48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9B48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D2#FFFFFF#000000##FFFFFF
##9B48D21.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3071CF
Tritanopia (blue-blind)
#936587
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b48d2;
/* rgb */ color: rgb(155, 72, 210);
/* oklch */ color: oklch(57.1% 0.208 308.9);
Tailwind
colors: {
  custom: {
    50: '#bd80e0',
    500: '#9b48d2',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d2;
$custom-light: #bd80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d2",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 276.087,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.20773,
    "h": 308.9
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#9B48D2
secondary
#B5D89E
accent
#E44484
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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