#9749B1#9749B1

#9749B1 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.6% C 0.171 H 316.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9749B1
RGBrgb(151, 73, 177)
HSLhsl(285, 42%, 49%)
HSVhsv(285, 59%, 69%)
CMYKcmyk(14.7%, 58.8%, 0%, 30.6%)
CIE-LABlab(44.97, 49.14, -41.81)
CIE-LCHlch(44.97, 64.52, 319.61°)
OKLaboklab(54.65% 0.1248 -0.1168)
OKLCHoklch(54.65% 0.171 316.9)
XYZxyz(23.0797, 14.5196, 43.1733)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749B1 #63B149
analogous
#6349B1 #9749B1 #B14997
triadic
#9749B1 #B19749 #49B197
tetradic
#9749B1 #B16349 #63B149 #4997B1
square
#9749B1 #B16349 #63B149 #4997B1
split-complementary
#9749B1 #97B149 #49B163
monochromatic
#4D255A #723786 #9749B1 #B072C5 #C99ED7

Accessibility & contrast

On white

5.38
#9749B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9749B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749B1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749B1#FFFFFF#000000##FFFFFF
##9749B11.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#965A76
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9749b1;
/* rgb */ color: rgb(151, 73, 177);
/* oklch */ color: oklch(54.6% 0.171 316.9);
Tailwind
colors: {
  custom: {
    50: '#b880c9',
    500: '#9749b1',
    950: '#000000',
  },
}
SCSS
$custom: #9749b1;
$custom-light: #b880c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9749b1",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 285,
    "s": 41.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.17092,
    "h": 316.9
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#9749B1
secondary
#9FC392
accent
#D15675
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9749B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9749B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva