#9748BD#9748BD

#9748BD is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.185 H 313.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9748BD
RGBrgb(151, 72, 189)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(20.1%, 61.9%, 0%, 25.9%)
CIE-LABlab(45.48, 52.18, -48.02)
CIE-LCHlch(45.48, 70.91, 317.38°)
OKLaboklab(55.25% 0.1262 -0.1349)
OKLCHoklch(55.25% 0.185 313.1)
XYZxyz(24.2636, 14.8888, 49.7299)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BD #6EBD48
analogous
#5C48BD #9748BD #BD48A8
triadic
#9748BD #BD9748 #48BD97
tetradic
#9748BD #BD5C48 #6EBD48 #48A8BD
square
#9748BD #BD5C48 #6EBD48 #48A8BD
split-complementary
#9748BD #A8BD48 #48BD5C
monochromatic
#512566 #743593 #9748BD #B175CD #CAA2DD

Accessibility & contrast

On white

5.28
#9748BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9748BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BD#FFFFFF#000000##FFFFFF
##9748BD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C1
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#935E7C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9748bd;
/* rgb */ color: rgb(151, 72, 189);
/* oklch */ color: oklch(55.2% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#b97fd1',
    500: '#9748bd',
    950: '#000000',
  },
}
SCSS
$custom: #9748bd;
$custom-light: #b97fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9748bd",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 280.513,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.18478,
    "h": 313.1
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#9748BD
secondary
#A7CA97
accent
#D7517D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9748BD

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

Preview Lab → · Contrast checker → · Palette generator →

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