#9B48D9#9B48D9

#9B48D9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.215 H 307.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9B48D9
RGBrgb(155, 72, 217)
HSLhsl(274, 66%, 57%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(28.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.77, 59.23, -60.46)
CIE-LCHlch(47.77, 84.64, 314.41°)
OKLaboklab(57.57% 0.1298 -0.1713)
OKLCHoklch(57.57% 0.215 307.1)
XYZxyz(28.3567, 16.6134, 67.3450)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48D9 #86D948
analogous
#5348D9 #9B48D9 #D948CF
triadic
#9B48D9 #D99B48 #48D99B
tetradic
#9B48D9 #D95348 #86D948 #48CFD9
square
#9B48D9 #D95348 #86D948 #48CFD9
split-complementary
#9B48D9 #CFD948 #48D953
monochromatic
#5B1D8A #7D27BD #9B48D9 #B77BE4 #D2ADEE

Accessibility & contrast

On white

4.86
#9B48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9B48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48D9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48D9#FFFFFF#000000##FFFFFF
##9B48D91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2472D6
Tritanopia (blue-blind)
#91688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9b48d9;
/* rgb */ color: rgb(155, 72, 217);
/* oklch */ color: oklch(57.6% 0.215 307.1);
Tailwind
colors: {
  custom: {
    50: '#bd81e6',
    500: '#9b48d9',
    950: '#000000',
  },
}
SCSS
$custom: #9b48d9;
$custom-light: #bd81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48d9",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 274.345,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.2149,
    "h": 307.1
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#9B48D9
secondary
#BADCA1
accent
#E93F88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9B48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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