#9749BA#9749BA

#9749BA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.180 H 313.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9749BA
RGBrgb(151, 73, 186)
HSLhsl(281, 45%, 51%)
HSVhsv(281, 61%, 73%)
CMYKcmyk(18.8%, 60.8%, 0%, 27.1%)
CIE-LABlab(45.48, 51.04, -46.27)
CIE-LCHlch(45.48, 68.89, 317.81°)
OKLaboklab(55.19% 0.125 -0.1298)
OKLCHoklch(55.19% 0.18 313.9)
XYZxyz(24.0065, 14.8903, 48.0544)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749BA #6CBA49
analogous
#5E49BA #9749BA #BA49A4
triadic
#9749BA #BA9749 #49BA97
tetradic
#9749BA #BA5E49 #6CBA49 #49A4BA
square
#9749BA #BA5E49 #6CBA49 #49A4BA
split-complementary
#9749BA #A4BA49 #49BA5E
monochromatic
#502663 #74368F #9749BA #B075CB #CAA2DC

Accessibility & contrast

On white

5.28
#9749BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9749BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749BA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749BA#FFFFFF#000000##FFFFFF
##9749BA1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#945D7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9749ba;
/* rgb */ color: rgb(151, 73, 186);
/* oklch */ color: oklch(55.2% 0.180 313.9);
Tailwind
colors: {
  custom: {
    50: '#b980cf',
    500: '#9749ba',
    950: '#000000',
  },
}
SCSS
$custom: #9749ba;
$custom-light: #b980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9749ba",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 281.416,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5519,
    "c": 0.18021,
    "h": 313.9
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9749BA

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

Preview Lab → · Contrast checker → · Palette generator →

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