#9748AF#9748AF

#9748AF is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.4% C 0.170 H 317.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9748AF
RGBrgb(151, 72, 175)
HSLhsl(286, 42%, 48%)
HSVhsv(286, 59%, 69%)
CMYKcmyk(13.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(44.67, 49.22, -41.10)
CIE-LCHlch(44.67, 64.13, 320.13°)
OKLaboklab(54.4% 0.126 -0.1147)
OKLCHoklch(54.4% 0.17 317.7)
XYZxyz(22.8166, 14.3101, 42.1094)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748AF #60AF48
analogous
#6348AF #9748AF #AF4893
triadic
#9748AF #AF9748 #48AF97
tetradic
#9748AF #AF6348 #60AF48 #4893AF
square
#9748AF #AF6348 #60AF48 #4893AF
split-complementary
#9748AF #93AF48 #48AF63
monochromatic
#4C2458 #723684 #9748AF #B170C4 #C89BD6

Accessibility & contrast

On white

5.44
#9748AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9748AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748AF#FFFFFF#000000##FFFFFF
##9748AF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#4C6CAC
Tritanopia (blue-blind)
#965975
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9748af;
/* rgb */ color: rgb(151, 72, 175);
/* oklch */ color: oklch(54.4% 0.170 317.7);
Tailwind
colors: {
  custom: {
    50: '#b87fc7',
    500: '#9748af',
    950: '#000000',
  },
}
SCSS
$custom: #9748af;
$custom-light: #b87fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9748af",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 286.019,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.17041,
    "h": 317.7
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#9748AF
secondary
#9CC290
accent
#D25673
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9748AF

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

Preview Lab → · Contrast checker → · Palette generator →

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