#9748AE#9748AE

#9748AE is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.3% C 0.169 H 318.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9748AE
RGBrgb(151, 72, 174)
HSLhsl(286, 41%, 48%)
HSVhsv(286, 59%, 68%)
CMYKcmyk(13.2%, 58.6%, 0%, 31.8%)
CIE-LABlab(44.62, 49.01, -40.60)
CIE-LCHlch(44.62, 63.65, 320.36°)
OKLaboklab(54.34% 0.126 -0.1133)
OKLCHoklch(54.34% 0.169 318)
XYZxyz(22.7188, 14.2709, 41.5940)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748AE #5FAE48
analogous
#6448AE #9748AE #AE4892
triadic
#9748AE #AE9748 #48AE97
tetradic
#9748AE #AE6448 #5FAE48 #4892AE
square
#9748AE #AE6448 #5FAE48 #4892AE
split-complementary
#9748AE #92AE48 #48AE64
monochromatic
#4C2457 #713683 #9748AE #B170C4 #C89BD6

Accessibility & contrast

On white

5.45
#9748AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9748AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748AE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748AE#FFFFFF#000000##FFFFFF
##9748AE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#975874
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9748ae;
/* rgb */ color: rgb(151, 72, 174);
/* oklch */ color: oklch(54.3% 0.169 318.0);
Tailwind
colors: {
  custom: {
    50: '#b87fc6',
    500: '#9748ae',
    950: '#000000',
  },
}
SCSS
$custom: #9748ae;
$custom-light: #b87fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ae",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 286.471,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.16939,
    "h": 318
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#9748AE
secondary
#9BC290
accent
#D15772
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9748AE

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

Preview Lab → · Contrast checker → · Palette generator →

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