#9748BB#9748BB

#9748BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.183 H 313.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9748BB
RGBrgb(151, 72, 187)
HSLhsl(281, 46%, 51%)
HSVhsv(281, 61%, 73%)
CMYKcmyk(19.3%, 61.5%, 0%, 26.7%)
CIE-LABlab(45.36, 51.75, -47.04)
CIE-LCHlch(45.36, 69.93, 317.73°)
OKLaboklab(55.12% 0.1263 -0.1321)
OKLCHoklch(55.12% 0.183 313.7)
XYZxyz(24.0480, 14.8026, 48.5945)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BB #6CBB48
analogous
#5D48BB #9748BB #BB48A6
triadic
#9748BB #BB9748 #48BB97
tetradic
#9748BB #BB5D48 #6CBB48 #48A6BB
square
#9748BB #BB5D48 #6CBB48 #48A6BB
split-complementary
#9748BB #A6BB48 #48BB5D
monochromatic
#502564 #743690 #9748BB #B075CC #CAA1DC

Accessibility & contrast

On white

5.30
#9748BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9748BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BB#FFFFFF#000000##FFFFFF
##9748BB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#945D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9748bb;
/* rgb */ color: rgb(151, 72, 187);
/* oklch */ color: oklch(55.1% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#b97fd0',
    500: '#9748bb',
    950: '#000000',
  },
}
SCSS
$custom: #9748bb;
$custom-light: #b97fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9748bb",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 281.217,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55122,
    "c": 0.18271,
    "h": 313.7
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#9748BB
secondary
#A6C996
accent
#D5527B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9748BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9748BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva