#9948BC#9948BC

#9948BC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.185 H 314.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9948BC
RGBrgb(153, 72, 188)
HSLhsl(282, 46%, 51%)
HSVhsv(282, 62%, 74%)
CMYKcmyk(18.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.69, 52.45, -47.09)
CIE-LCHlch(45.69, 70.49, 318.08°)
OKLaboklab(55.43% 0.1288 -0.1321)
OKLCHoklch(55.43% 0.185 314.3)
XYZxyz(24.5298, 15.0386, 49.1778)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948BC #6BBC48
analogous
#5F48BC #9948BC #BC48A5
triadic
#9948BC #BC9948 #48BC99
tetradic
#9948BC #BC5F48 #6BBC48 #48A5BC
square
#9948BC #BC5F48 #6BBC48 #48A5BC
split-complementary
#9948BC #A5BC48 #48BC5F
monochromatic
#512565 #763592 #9948BC #B275CC #CBA2DD

Accessibility & contrast

On white

5.24
#9948BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9948BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948BC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948BC#FFFFFF#000000##FFFFFF
##9948BC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#965D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9948bc;
/* rgb */ color: rgb(153, 72, 188);
/* oklch */ color: oklch(55.4% 0.185 314.3);
Tailwind
colors: {
  custom: {
    50: '#ba80d1',
    500: '#9948bc',
    950: '#000000',
  },
}
SCSS
$custom: #9948bc;
$custom-light: #ba80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9948bc",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 281.897,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.18451,
    "h": 314.3
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#9948BC
secondary
#A6CA96
accent
#D6527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9948BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9948BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva