#9746A8#9746A8

#9746A8 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.166 H 320.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9746A8
RGBrgb(151, 70, 168)
HSLhsl(290, 41%, 47%)
HSVhsv(290, 58%, 66%)
CMYKcmyk(10.1%, 58.3%, 0%, 34.1%)
CIE-LABlab(43.93, 48.78, -38.15)
CIE-LCHlch(43.93, 61.93, 321.97°)
OKLaboklab(53.73% 0.1282 -0.1061)
OKLCHoklch(53.73% 0.166 320.4)
XYZxyz(22.0197, 13.7878, 38.5396)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746A8 #57A846
analogous
#6646A8 #9746A8 #A84688
triadic
#9746A8 #A89746 #46A897
tetradic
#9746A8 #A86646 #57A846 #4688A8
square
#9746A8 #A86646 #57A846 #4688A8
split-complementary
#9746A8 #88A846 #46A866
monochromatic
#492252 #70347D #9746A8 #B26AC1 #C895D3

Accessibility & contrast

On white

5.59
#9746A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9746A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746A8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746A8#FFFFFF#000000##FFFFFF
##9746A81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#4E6BA5
Tritanopia (blue-blind)
#985570
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9746a8;
/* rgb */ color: rgb(151, 70, 168);
/* oklch */ color: oklch(53.7% 0.166 320.4);
Tailwind
colors: {
  custom: {
    50: '#b87ec2',
    500: '#9746a8',
    950: '#000000',
  },
}
SCSS
$custom: #9746a8;
$custom-light: #b87ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9746a8",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 289.592,
    "s": 41.176,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.16645,
    "h": 320.4
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#9746A8
secondary
#94BF8B
accent
#D1576C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9746A8

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

Preview Lab → · Contrast checker → · Palette generator →

#9746A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva