#9748BC#9748BC

#9748BC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.184 H 313.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9748BC
RGBrgb(151, 72, 188)
HSLhsl(281, 46%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(19.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(45.42, 51.96, -47.53)
CIE-LCHlch(45.42, 70.42, 317.55°)
OKLaboklab(55.18% 0.1263 -0.1335)
OKLCHoklch(55.18% 0.184 313.4)
XYZxyz(24.1554, 14.8456, 49.1602)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BC #6DBC48
analogous
#5D48BC #9748BC #BC48A7
triadic
#9748BC #BC9748 #48BC97
tetradic
#9748BC #BC5D48 #6DBC48 #48A7BC
square
#9748BC #BC5D48 #6DBC48 #48A7BC
split-complementary
#9748BC #A7BC48 #48BC5D
monochromatic
#502565 #743592 #9748BC #B075CC #CAA2DD

Accessibility & contrast

On white

5.29
#9748BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9748BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BC#FFFFFF#000000##FFFFFF
##9748BC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#935D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9748bc;
/* rgb */ color: rgb(151, 72, 188);
/* oklch */ color: oklch(55.2% 0.184 313.4);
Tailwind
colors: {
  custom: {
    50: '#b97fd1',
    500: '#9748bc',
    950: '#000000',
  },
}
SCSS
$custom: #9748bc;
$custom-light: #b97fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9748bc",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 280.862,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.18374,
    "h": 313.4
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#9748BC
secondary
#A7CA96
accent
#D6527C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9748BC

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

Preview Lab → · Contrast checker → · Palette generator →

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