#9749B2#9749B2

#9749B2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.7% C 0.172 H 316.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9749B2
RGBrgb(151, 73, 178)
HSLhsl(285, 42%, 49%)
HSVhsv(285, 59%, 70%)
CMYKcmyk(15.2%, 59%, 0%, 30.2%)
CIE-LABlab(45.02, 49.35, -42.31)
CIE-LCHlch(45.02, 65.00, 319.39°)
OKLaboklab(54.71% 0.1248 -0.1182)
OKLCHoklch(54.71% 0.172 316.6)
XYZxyz(23.1797, 14.5596, 43.7001)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749B2 #64B249
analogous
#6249B2 #9749B2 #B24999
triadic
#9749B2 #B29749 #49B297
tetradic
#9749B2 #B26249 #64B249 #4999B2
square
#9749B2 #B26249 #64B249 #4999B2
split-complementary
#9749B2 #99B249 #49B262
monochromatic
#4D255B #723787 #9749B2 #B073C5 #C99ED7

Accessibility & contrast

On white

5.37
#9749B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9749B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749B2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749B2#FFFFFF#000000##FFFFFF
##9749B21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#965B77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9749b2;
/* rgb */ color: rgb(151, 73, 178);
/* oklch */ color: oklch(54.7% 0.172 316.6);
Tailwind
colors: {
  custom: {
    50: '#b880c9',
    500: '#9749b2',
    950: '#000000',
  },
}
SCSS
$custom: #9749b2;
$custom-light: #b880c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9749b2",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 284.571,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.17195,
    "h": 316.6
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#9749B2
secondary
#A0C493
accent
#D25676
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9749B2

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

Preview Lab → · Contrast checker → · Palette generator →

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