#9746BB#9746BB

#9746BB is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.186 H 313.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9746BB
RGBrgb(151, 70, 187)
HSLhsl(282, 46%, 50%)
HSVhsv(282, 63%, 73%)
CMYKcmyk(19.3%, 62.6%, 0%, 26.7%)
CIE-LABlab(45.01, 52.71, -47.61)
CIE-LCHlch(45.01, 71.03, 317.91°)
OKLaboklab(54.86% 0.1287 -0.1337)
OKLCHoklch(54.86% 0.186 313.9)
XYZxyz(23.9208, 14.5482, 48.5521)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BB #6ABB46
analogous
#5C46BB #9746BB #BB46A5
triadic
#9746BB #BB9746 #46BB97
tetradic
#9746BB #BB5C46 #6ABB46 #46A5BB
square
#9746BB #BB5C46 #6ABB46 #46A5BB
split-complementary
#9746BB #A5BB46 #46BB5C
monochromatic
#4F2462 #73358F #9746BB #B073CB #C9A0DC

Accessibility & contrast

On white

5.37
#9746BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9746BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9746BB#FFFFFF#000000##FFFFFF
##9746BB1.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)
#1966BF
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#945C7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9746bb;
/* rgb */ color: rgb(151, 70, 187);
/* oklch */ color: oklch(54.9% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#b97ed0',
    500: '#9746bb',
    950: '#000000',
  },
}
SCSS
$custom: #9746bb;
$custom-light: #b97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9746bb",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 281.538,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.18559,
    "h": 313.9
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#9746BB
secondary
#A4C894
accent
#D6527B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9746BB

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

Preview Lab → · Contrast checker → · Palette generator →

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