#9746AA#9746AA

#9746AA is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.8% C 0.168 H 319.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9746AA
RGBrgb(151, 70, 170)
HSLhsl(289, 42%, 47%)
HSVhsv(289, 59%, 67%)
CMYKcmyk(11.2%, 58.8%, 0%, 33.3%)
CIE-LABlab(44.04, 49.18, -39.16)
CIE-LCHlch(44.04, 62.87, 321.47°)
OKLaboklab(53.84% 0.1284 -0.1091)
OKLCHoklch(53.84% 0.168 319.6)
XYZxyz(22.2074, 13.8629, 39.5284)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746AA #59AA46
analogous
#6546AA #9746AA #AA468B
triadic
#9746AA #AA9746 #46AA97
tetradic
#9746AA #AA6546 #59AA46 #468BAA
square
#9746AA #AA6546 #59AA46 #468BAA
split-complementary
#9746AA #8BAA46 #46AA65
monochromatic
#4A2253 #70347F #9746AA #B26BC2 #C896D4

Accessibility & contrast

On white

5.57
#9746AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9746AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9746AA#FFFFFF#000000##FFFFFF
##9746AA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#4D6BA7
Tritanopia (blue-blind)
#985671
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9746aa;
/* rgb */ color: rgb(151, 70, 170);
/* oklch */ color: oklch(53.8% 0.168 319.6);
Tailwind
colors: {
  custom: {
    50: '#b87ec4',
    500: '#9746aa',
    950: '#000000',
  },
}
SCSS
$custom: #9746aa;
$custom-light: #b87ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9746aa",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 288.6,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.16844,
    "h": 319.6
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#9746AA
secondary
#96C08C
accent
#D1566E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9746AA

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

Preview Lab → · Contrast checker → · Palette generator →

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