#9748BA#9748BA

#9748BA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.182 H 314.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9748BA
RGBrgb(151, 72, 186)
HSLhsl(282, 45%, 51%)
HSVhsv(282, 61%, 73%)
CMYKcmyk(18.8%, 61.3%, 0%, 27.1%)
CIE-LABlab(45.30, 51.53, -46.55)
CIE-LCHlch(45.30, 69.45, 317.91°)
OKLaboklab(55.06% 0.1263 -0.1306)
OKLCHoklch(55.06% 0.182 314)
XYZxyz(23.9413, 14.7599, 48.0326)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BA #6BBA48
analogous
#5E48BA #9748BA #BA48A4
triadic
#9748BA #BA9748 #48BA97
tetradic
#9748BA #BA5E48 #6BBA48 #48A4BA
square
#9748BA #BA5E48 #6BBA48 #48A4BA
split-complementary
#9748BA #A4BA48 #48BA5E
monochromatic
#502562 #74368F #9748BA #B074CB #CAA1DC

Accessibility & contrast

On white

5.31
#9748BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9748BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BA#FFFFFF#000000##FFFFFF
##9748BA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BE
Deuteranopia (green-blind)
#446DB7
Tritanopia (blue-blind)
#945D7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9748ba;
/* rgb */ color: rgb(151, 72, 186);
/* oklch */ color: oklch(55.1% 0.182 314.0);
Tailwind
colors: {
  custom: {
    50: '#b97fcf',
    500: '#9748ba',
    950: '#000000',
  },
}
SCSS
$custom: #9748ba;
$custom-light: #b97fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ba",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 281.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.18168,
    "h": 314
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#9748BA
secondary
#A5C896
accent
#D5537B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9748BA

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

Preview Lab → · Contrast checker → · Palette generator →

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