#9748B7#9748B7

#9748B7 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.179 H 315.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9748B7
RGBrgb(151, 72, 183)
HSLhsl(283, 44%, 50%)
HSVhsv(283, 61%, 72%)
CMYKcmyk(17.5%, 60.7%, 0%, 28.2%)
CIE-LABlab(45.13, 50.89, -45.08)
CIE-LCHlch(45.13, 67.99, 318.47°)
OKLaboklab(54.88% 0.1262 -0.1263)
OKLCHoklch(54.88% 0.179 315)
XYZxyz(23.6257, 14.6337, 46.3706)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748B7 #68B748
analogous
#6048B7 #9748B7 #B7489F
triadic
#9748B7 #B79748 #48B797
tetradic
#9748B7 #B76048 #68B748 #489FB7
square
#9748B7 #B76048 #68B748 #489FB7
split-complementary
#9748B7 #9FB748 #48B760
monochromatic
#4F255F #73378B #9748B7 #B074C8 #C9A0DA

Accessibility & contrast

On white

5.35
#9748B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9748B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748B7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748B7#FFFFFF#000000##FFFFFF
##9748B71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#955C79
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9748b7;
/* rgb */ color: rgb(151, 72, 183);
/* oklch */ color: oklch(54.9% 0.179 315.0);
Tailwind
colors: {
  custom: {
    50: '#b87fcd',
    500: '#9748b7',
    950: '#000000',
  },
}
SCSS
$custom: #9748b7;
$custom-light: #b87fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9748b7",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 282.703,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.54876,
    "c": 0.17859,
    "h": 315
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#9748B7
secondary
#A3C695
accent
#D35579
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A13
muted
#817C82

Preview Lab

Preview with #9748B7

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

Preview Lab → · Contrast checker → · Palette generator →

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